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
30
Views
3
Comments
edited Jun 8, 2022 11:31AM in General Technical Discussions 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!