I need some help. I am modifying a script that I wrote some time ago that uses JavaScript to calculate a return on investment. The script works pretty well but it sometimes returns values with an infinate number of digits past the decimal. Since this calculator is dealing with money values, I only need two digits past the decimal rounded appropriately. Can anyone help?
Thanks,
Larry