Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Wead Text Conversion with Transform command
Message
From
05/04/2001 08:35:59
Mark Hall
Independent Developer & Voip Specialist
Keston, Kent, United Kingdom
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00492277
Message ID:
00492279
Views:
19
>Hi,
>
>I try to make a conversion.
>Numeric to Caractere with the transform command.
>
>Ex:
>Normaly
>Transform(8.55) --> 8.55
>but i got
>Transform(8.55) --> 8.55000000000000001
>
>Do you have a Idea why and how to bypass it...
>Rock

Hi,

Add a format to the TRANSFORM:-

? Transform(8.55, "9,999.99")
Regards
Mark

Microsoft VFP MCP
Menulib - OO Menus for VFP www.hidb.com/menulib
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform