I’m trying to format numbers so that 2 decimal places show up, unless it is a whole number – then I don’t want a decimal point to show. I’ve tried 0.00, _.__, 9.99 and several combinations. Is there a mask for the numberFormat function that can get this result?
I’m trying to format numbers so that 2 decimal places show up, unless it
Share
1 Answer