Hello everyone. I'm trying to do something farily simple. I have a line of code:
FullPeriod is 3A and PeriodToChar returns a 1 digit period number. When FromYear2 is '06' (representing the year 2006), FullPeriod is concatenated as '61 ' instead of with the leading zero like '061', '062', etc. How can I do this so that during the conversion, the leading zero is kept?
Code:
FullPeriod = %char(FromYear2) + PeriodToChar(i);
FullPeriod is 3A and PeriodToChar returns a 1 digit period number. When FromYear2 is '06' (representing the year 2006), FullPeriod is concatenated as '61 ' instead of with the leading zero like '061', '062', etc. How can I do this so that during the conversion, the leading zero is kept?