Forum Moderators: open

Message Too Old, No Replies

JavaScript calculators

         

kevinj

10:17 pm on Aug 12, 2004 (gmt 0)

10+ Year Member



Does anyone have any JS sites that have samples which allow a user to enter a quantity into a text box and it calculates a cost based on the quantity entered and the qty/cost parameters set in the code?

Ex.

User enters 500

which is then multiplied by the cost per unit in the parameters set.

500
$1.20 per unit

1000
$0.80 per unit

etc.

Thanks,
Kevin

kodaks

10:59 pm on Aug 12, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Dig around javascriptkit for "math related scripts", you will find quite a lot there.

dreamcatcher

11:30 am on Aug 14, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member


Or try the Javascript Source:

http://javascript.internet.com/calculators/