JavaScript parsefloat dua desimal

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