parsefloat.tofixed в JavaScript
var num2 = parseFloat("10.547892").toFixed(2)
Bloody Buffalo
var num2 = parseFloat("10.547892").toFixed(2)