formatear a Precision 2 JavaScript si Double
(Math.round(num * 100) / 100).toFixed(2);
Selim Soufargi
(Math.round(num * 100) / 100).toFixed(2);