I am using script for check printing. I am getting the cheque number based on the check lot configuration. If the cheque number is five digits then in my script it should be displayed with six digits by placing 0 in front of the cheque number. The addition of zeros should be dynamic with respect to the cheque number.If it is four digit cheque number then two zeros should be added.
Can anybody help me in this issue.