Answered

Leading zeros padding of a number

I have a number field that is used to capture an account number that is 8 digits long. Sometimes the account number is entered with leading leading zeros e.g 00789898. Bizagi strips the leading zeros off and when the number is presented later it has the leading zeros stripped off. How can I retain the leading zeros both for presentation at a later activity?

Comments (2)

photo
1

Dear Calvin

In order to retain the leading zeroes, you might try changing the data type of your “Account Number” attribute to String.

Hope this helps!

Regards

photo
1

Thanks for your answer. I worked this out myself as this took long before it made its way to the forum. Changing the field to a string is exactly how I overcame this.