>Example: >x=1.000 >y=3.0 >z=5.12004 >* How to get the decimal places for each variable? >
lnNumber = 1.000 lcStr = PADL(lnNumber,20) IF AT(".", lcStr) = 0 ? 0 ELSE ? LEN(SUBSTR(lcStr, AT(".", lcStr)+1)) ENDIF