function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
nishida syouheinishida syouhei 

decimal value at inputField html 5 type = number

Hello everyone,

If I set a value of decimal in the value of <apex: inputField> in <apex: form> of Visualforce,
and if the value is over 1000, it will be setted with a comma.
I want to use <apex: inputField> with a type=number specification,
If value contains commas , type=number is invalid.

do you hane any solutions?
I want to set decimal value in <apex: inputField> with no comma.


Does anyone know the method?
SandhyaSandhya (Salesforce Developers) 
Hi,

You may need to create a formula field with Text as return type.
Formula: Text( numberfield__c )
Refer below links.
https://success.salesforce.com/answers?id=90630000000goruAAA
 
https://salesforce.stackexchange.com/questions/7468/number-field-without-comma-thousands-separator
 
Please mark it as solved if my reply was helpful. It will make it available for other as the proper solution.
 
Best Regards
Sandhya