I would like to format my numbers to always display 2 decimal places, rounding where applicable.
Examples:
number display ------ ------- 1
parseInt(number * 100) / 100; worked for me.
parseInt(number * 100) / 100;