Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
String with no decimal to decimal value
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01388088
Message ID:
01388091
Views:
53
lcVal = "000021600"
? ROUND(VAL(lcVal)/100,2)
>What might the best way to convert a string that represents a money value where the last 2 digits would be the cents.
>
>
>Original Value:   000021600
>
>Desired converstion: 216.00
>
>
>
>Thanks
>
>Kirk
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform