Jump to content

Converting number to decimal in order to add percentages.

Recommended Posts

Lets say user enters the number 3 on a form. The 3 is to represent 3% increase of a number that will be uploaded from a .csv file field (ex..100). I need to be able to covert the 3 to .03 to mutiply by the number in .csv then add the sum to the .csv field. (ex: .03*100+100=103). Does anyone have an idea on how to accomplish this in javascript.


Help is much needed. Thanks

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...