depending on how you want the string to appear
var1=0.25
var2=ltrim(str(var1,10,2))
ltrim removes the leading spaces in the conversion that is 10 characters and the 2 specifies the number of decimal places.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.