parse float with two decimals

var decimalValue2Places=parseFloat(value).toFixed(2);

Related Alrticles

FREE!!! Registration