Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The easiest way
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01233268
Message ID:
01233275
Views:
10
This message has been marked as the solution to the initial question of the thread.
>Hi everybody,
>
>Can this
>thisform.GrandTotal = 2000.13
>PADL(STRTRAN(TRANSFORM(THISFORM.GrandTotal),".",""),17,"0")
(e.g. implied decimal)
>be simplified?
>
>Thanks.
WAIT WINDOW PADL(TRANSFORM(GrandTotal*100),17,"0")
Of course that would work IF you have only two digits after the decimal point. If they vary your code is the way :o)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform