jQuery limit to 2 decimal places
- by Michael Pasqualone
How do I limit the following jQuery return to 2 decimal places?
$("#diskamountUnit").val('$' + $("#disk").slider("value") * 1.60);
I figure I've got to throw toFixed(2) somewhere into there, but I can't seem to get the ordering right or something.