We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Store Integer with leading 0

Accepted answer
16
Views
3
Comments
edited Dec 13, 2018 9:25PM in System Admin and Configuration 3 comments

Summary

Leading 0 clipped from integer field.

Content

I have a field of the data type integer in a custom object. I'm aware that, technically, integers do not start with a 0, however we have a requirement to store a number here that could potentially start with 0. As is now, if I save "0123" to this field, it persists as "123" after save. Is it possible to allow the storing of an integer with a leading zero? 

Version

18C

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!