Numeric Textbox with decimal

Dear Sir,

I have following codes

[code]

Numeric Textbox Numeric Input
1st Number <input type="text" name="text1" onkeypress="return isNumberKey(event)";

onblur=“form1.text1.value=formatCurrency(form1.text1.value)” >

[/code]

The textbox accept only numeric values.
How to modify codes to accept . (decimal).

I want to enter data as

254228.25

Please help

Sponsor our Newsletter | Privacy Policy | Terms of Service