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
David OvellaDavid Ovella 

Can a number field starts with ceros 001 instead of 1?

Hi everyone,
I want to know if it's possible to save a number field like 001?
cause when I enter 001 it appears to me like just 1


and don't want to this field be text
AshlekhAshlekh
Hi,

As per my understanding if you save a value 001 in Number field then it will save as 1 in backend.  

-Thanks
Ashlekh Gera
Dushyant SonwarDushyant Sonwar
Hi David,

You cannot save number field as 001 , If you save '001' in number field it will remove the leading zeroes and save it as 1.

Thank You
Arunkumar RArunkumar R
Hi David,

By default, Number field omit leading zero.

My suggesstion go with text field and do a validation rule to avoid entering non number values. Find the below link it will helpful to you.

https://success.salesforce.com/answers?id=90630000000gxA7AAI