★ wanayoo — archive 1999 http://javascript.internet.com/forms/decimals-allowed.htmlNouvelle recherche | Portail wanayoo

Grow your revenue stream! Get Press Exposure!


Home } Forms } Decimals Allowed



Allows the user to enter a number with up to 2 decimal places in a text box. In other words, 99 is ok, 99.9 is ok, 99.99 is ok, but 99.999 is rejected. You can easily change the number of decimal places that are permitted. (i.e. 1, 2, 3, etc.) For the example, enter a number with up to 2 decimal places then try entering one with more than 2 decimal places.
Please enter a number with up to 2 decimal places:

The JavaScript Source: Forms: Decimals Allowed

Simply click inside the window below, use your cursor to hilight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Apple-s). The script is yours!!!

    

Did you use this script?  Do you like this site?  Please link to us!
Earn cash for Clicks!

Sign up for the JavaScript Source's Newsletters!
Site Updates!
Monthly Digest
Your Email:


We'll send this script to you!

(just click "Send it!" once!)

[ Contact Us! ]
[ JavaScript Forum ]

The JavaScript Source

Copyright 1999 Internet.com Corp.
All Rights Reserved. Legal Notices

Privacy Information
Advertising Information