I need to truncate the decimal places not round up the number; how do I do this?487 0 3
I've created a survey and a variable to report out the survey results.I need the decimal places as I report out on the measure. How do I truncate to 2 decimal places?
Thanks in advance
Comments( 0 )
Answers ( 3 )
I've used VariableName.toFixed(x)
However many number you want to have AFTER the decimal is the number you put in (x).