How can I take some variables and output them only to two decimal places, but leave the variables themselves unchanged?
I tried
NumberFormat(reportData, '0,00')
But the numbers remained the same.
,
is the separator for thousands and 0
stands for "pad with zero", as can be read in the official documentation. Try it like this:
NumberFormat(reportData, '9.99');
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With