Hi Team,
I might have any of the value in the variable (number of months) as an input: - 1 ,2 , 3, 4 ,5 ,6 ,7 ,8, 9, 10, 11, 12
Input:- InputVar,
Output:- “00”+InputVar
Eg:- (Single digit input)
InputVar- 4 then Output= 004
InputVar- 6 then Output= 006
InputVar- 9 then Output= 009
Eg:- (Two digit input)
InputVar- 10 then Output= 010
InputVar- 11 then Output= 011
InputVar- 12 then Output= 012
I know it is straight forward but I need a help in having most optimized approach.
Thanks and Regards,
@hacky