JavaScript parsefloat два десятичного

var twoPlacedFloat = parseFloat(yourString).toFixed(2)
Worried Wombat