Published on InterSystems Developer Community (https://community.intersystems.com)

Home > Add Leading Zeros

Question
Kenny Hill · Oct 23, 2018

Add Leading Zeros

I'm trying to format a filed, and I need to add leading zeros infront with a length of 4.

Example:

Before: 1

After: 0001

#Ensemble

Source URL:https://community.intersystems.com/post/add-leading-zeros