javascript parsefloat deux décimales

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