parseFloat(string).toFixed(2); //2 fractions, truncate
(parseFloat(string)+0.005).toFixed(2); //2 fractions, half round up
key word: toFixed
parseFloat(string).toFixed(2); //2 fractions, truncate
(parseFloat(string)+0.005).toFixed(2); //2 fractions, half round up
key word: toFixed