prefix

Posted by vikaetta on 07-Feb-2008 07:23

prefixing a dynamic number with leading zeros for example l have a number like 125863 but l want it displayed as 000000125863 and also use the same format for a number like 52226555. these are dynamic numbers

All Replies

Posted by Tim Kuehn on 07-Feb-2008 07:53

I'm not sure what your question is, but to get leading zeros on a number can be done something like this:

STRING(cur-number, "999999")

or

cur-number FORMAT "99999"

Posted by vikaetta on 07-Feb-2008 08:33

thanks so much. it worked

This thread is closed