[pmwiki-users] Formatting numbers

Marcus prima at wordit.com
Sat Jan 17 21:27:44 CST 2009


Is there a way to format numbers?
If I have a form variable "1.5", is there a way to add a zero *only*
if the variable has one digit after the decimal point?

1.5 becomes 1.50
1.54 stays as 1.54

Thanks,

Marcus



More information about the pmwiki-users mailing list