You need to sign in to do that
Don't have an account?
Aaron Mossey
Need a Formula that evaluates a number value and ensures output is always at least 4 digits.
For example:
Input value = 3
then output = 0003
Input value = 64
then output = 0064
Input value = 3269
then output = 3269
Is this possible?
Input value = 3
then output = 0003
Input value = 64
then output = 0064
Input value = 3269
then output = 3269
Is this possible?
then output = 0003
RIGHT ( LPAD( text__c , 4, '0') , 4 )
All Answers
You can use workflow to update the second field .. but with number i guess NO
Why LEN, LPAD, RIGHT (+TEXT) are not sufficient for your padding?
You have numbers above 9999?
then output = 0003
RIGHT ( LPAD( text__c , 4, '0') , 4 )
That works just great