You need to sign in to do that
Don't have an account?
Karthik TathiReddy
Any method to describe the given number in 4 digit format
Hi,
Is there any method in Apex to print the the given input number in 4 digit format. For example my input numbers are 2,3,4,5,6,23,24. Then the output should be like 0002,0003,0004,0005,0006,0023,0024.
How could I achieve this with out writing general logic? If any methods resulting this output could appreciate. Please help on this....
Regards-
Shiv Kumar
If you want that only for displaying purposes, try the following
Regards