Currency in JavaScript
Parsing money integers
Round integer to 2 digits (for money/currency) - via: https://stackoverflow.com/a/12830454 -- https://stackoverflow.com/a/11665949
If the value is a text type:
parseFloat("123.456").toFixed(2);
If the value is a number:
var numb = 123.23454;
numb = numb.toFixed(2);
If the number has a comma:
parseFloat(yournumber.replace(/,/g, ""));
// $1,933.00 becomes 1933