Title: Decimal numbers
Last modified: March 22, 2019

---

# Decimal numbers

 *  Resolved [laudag](https://wordpress.org/support/users/laudag/)
 * (@laudag)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/decimal-numbers-2/)
 * It seems that the number fields doesn’t accept decimal numbers. Is there a way
   to accept them ? In thsi case, may I choose to use “,” instead of “.” to separate
   decimals (France) ?
    Thanks.
    -  This topic was modified 7 years, 1 month ago by [laudag](https://wordpress.org/support/users/laudag/).

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [easyregistrationforms](https://wordpress.org/support/users/easyregistrationforms/)
 * (@easyregistrationforms)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/decimal-numbers-2/#post-11344569)
 * Hello [@laudag](https://wordpress.org/support/users/laudag/),
 * Thank you for reporting the issue. We will be fixing the decimal issue in our
   next release. Also noted your suggestion for number separator.
 *  Plugin Author [easyregistrationforms](https://wordpress.org/support/users/easyregistrationforms/)
 * (@easyregistrationforms)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/decimal-numbers-2/#post-11385459)
 * Hello [@laudag](https://wordpress.org/support/users/laudag/),
 * Issue is resolved in our recent release. Please upgrade and check.
 *  Thread Starter [laudag](https://wordpress.org/support/users/laudag/)
 * (@laudag)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/decimal-numbers-2/#post-11386181)
 * Well, thanks !
    But still a problem : > I tested 3 types of numbers on three 
   numbers fields : 5 = OK 6.5 = registred as 0 8,5 = registered as 8.5 in the admin,
   but a comma updating the field.
 * Sometimes, even in France, specialy if foreigner registrer in our sail race, 
   they write decimal numbers with dot. And on my browser it become a 0.
    Is it 
   possible to use a pattern to only accept numbers and comma ? Or a validation 
   fields thaht accept only commas ?
 * The other thing is does the 8.5 will show off with a comma or a dot in the futur
   list plug in ?
 *  Plugin Author [easyregistrationforms](https://wordpress.org/support/users/easyregistrationforms/)
 * (@easyregistrationforms)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/decimal-numbers-2/#post-11386421)
 * Hello [@laudag](https://wordpress.org/support/users/laudag/),
 * We are unable to replicate the dot issue mentioned above. Could you please check
   again ? Also provide us browser details and URL to check if it is a cross broswer
   compatibility issue. You can use HTML patterns to allow comma and numbers only.
   Pattern can be configured for text field (Advanced Settings->Input Pattern) from
   Form builder.
 *  Thread Starter [laudag](https://wordpress.org/support/users/laudag/)
 * (@laudag)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/decimal-numbers-2/#post-11386527)
 * I tried fist on firefox, then now on chrome. The same.
    Two things I think : 
   first, the computer and the browser are set for a region, for me France, and 
   you USA (I think). So no issue for you with dot, and for me yes. Second, when
   I enter a letter instead of a number, I do’nt have any red validation field, 
   which would be the interest of having a “number “filed when I write a letter.
   Then, a dot, in france, is considered as a texte caracter. Not a comma which 
   is a regular number caracter.
 * So when I enter a lettre or a dot, intead of red alert which couldn’t let me 
   following the form, it’s validated and regsiter a 0 instead of this letter or
   dot. This mean thaht the field is recognized as number filed and refuses letters.
   But the form let is pass.
 * I know I could use a pattern in the advance stting. That why I asked. But trying
   to understand how to write the pattern “accept only numbers and comma, withou
   limit of number”, I couldn’t succeed…
 *  Plugin Author [easyregistrationforms](https://wordpress.org/support/users/easyregistrationforms/)
 * (@easyregistrationforms)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/decimal-numbers-2/#post-11400008)
 * You can use input pattern for any text field to allow only number and comma. 
   Here is the pattern:[0-9,]*
    Above pattern will allow only number and comma input.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Decimal numbers’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/easy-registration-forms_82b2df.svg)
 * [Easy Registration Forms](https://wordpress.org/plugins/easy-registration-forms/)
 * [Support Threads](https://wordpress.org/support/plugin/easy-registration-forms/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-registration-forms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-registration-forms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-registration-forms/reviews/)

## Tags

 * [decimal](https://wordpress.org/support/topic-tag/decimal/)
 * [Numbers](https://wordpress.org/support/topic-tag/numbers/)

 * 6 replies
 * 2 participants
 * Last reply from: [easyregistrationforms](https://wordpress.org/support/users/easyregistrationforms/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/decimal-numbers-2/#post-11400008)
 * Status: resolved