Javascript Calculations
by Susan Walsh <SusanW(at)inscodico.com>
|
| Date: |
Fri, 14 Jan 2000 11:54:02 -0800 |
| To: |
"'hwg-languages(at)hwg.org'" <hwg-languages(at)hwg.org> |
| |
todo: View
Thread,
Original
|
|
Hello,
I have a script that converts the numbers input in a field into a currency
format. I need to take 2% of that value and write it into a different
field. What is the most efficient way to strip that number of the "$ and
"," characters, calculate the function, and put it back into currency
format? I think that I am almost there, but I can't figure out what I am
missing to tie the two functions together. Thanks in advance.
http://www.inscodico.com/defective2.html
HWG: hwg-languages mailing list archives,
maintained by Webmasters @ IWA
This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.