Will need this soon, there are some existing libraries to do this for strings/numbers(search package site for number format), maybe just point users that way?
But at the very least I'll need something to strip trailing zeros(and the decimal point if necessary) & to truncate/round/expand to n-decimal places(just 2 at first).
Will need this soon, there are some existing libraries to do this for strings/numbers(search package site for
number format), maybe just point users that way?But at the very least I'll need something to strip trailing zeros(and the decimal point if necessary) & to truncate/round/expand to n-decimal places(just 2 at first).