>>>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)
>
>You don't even need transform, PADL works with numeric. Now, thanks a lot, I could not see this simple solution myself, too much of solving others' problems :) Yes, I only have two decimals.
HA!!!!!!!
THANK YOU!
I always transform one way or another before I pass the parameter to the PADx() function.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.