Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Convert number to a char string
Message
From
08/12/2019 12:00:57
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01672170
Message ID:
01672171
Views:
80
Dimitry,
what are your settings?
I can print "500,32337" on transform(500.32337)
Koen

>Hi,
>
>I am trying to create a generic way to convert any number to a string. Here are some examples, of the number and how they should be as a string:
>
>
>2.4       ->  "2.4"
>.00       -> ".00"
>500.32337   -> "500.32337"
>8.342    -> "8.342"
>
>
>I tried TRANSFORM() but the second parameter has to match the number of decimal digits.
>
>Any suggestions?
>
>TIA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform