Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Transform & Set Decimal
Message
From
19/02/2002 09:42:20
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
19/02/2002 09:19:20
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00621870
Message ID:
00621902
Views:
9
>transform() simply doesn't work the way it is supposed to work. In VFP 6, the situation was worse yet: in some cases, transform(number) got formatted as "xyz.000000000000001" or something similar. This, at least, got solved in VFP 7, as I understand.
>
>For workarounds, I think you can use alltrim(str(number)) (for fixed decimals), and alltrim(padr(...)) (for trimming un-needed decimals).
>
>Grüsse, Hilmar.
>
>P.S.: When will we see your picture?

Hilmar,

my idea was to clean up alltrim(str(num,places,decimals)) ... ::(

Ah, last the three chars in line beyond are the best picture you ever got.
Let's say I like the community here - but I thrust not everybody how have access.

mundus vult decipi, ergo decipiatur
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform