Формат до JavaScript Precision 2, если двойной

(Math.round(num * 100) / 100).toFixed(2);
Selim Soufargi