Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
LEN() for numeric expresions
Message
From
30/10/2002 12:37:22
 
 
To
30/10/2002 12:33:32
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00716929
Message ID:
00716970
Views:
16
Daniel,Larry,Héctor ;-)

This problem wasn't so tricky after all. My bad.

>
>FWIW, you could use PADR() which respects the decimals and also works in prior versions of VFP:
>
>x = 456.461
>x = x + .0010
>? x   && Prints 456.4620
>? transform(x)  && Prints 456.462 in VFP6
>?ALLTRIM(PADR(x, 20)) && Prints 456.4620 in VFP6
>
>
Steve Gibson
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform