Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

javascript percentage compare

843836Jun 10 2005 — edited Jun 13 2005
i dont know any good javascript forum, but i figured some jsp programmer should be pretty good at it too

my question is that

i have couple percentages like 5.5% and -4.5% and 0.2%

and i want to filter out the percentage using the replace function

and parse the float number out

so i can compare if one value is bigger than another

how do i write the above in actual javascript code =(
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 11 2005
Added on Jun 10 2005
6 comments
317 views