src/Convert.hpp
std::string intToFixedLengthString(int intValue, int numDigits) {
    std::string stringValue = toString(intValue);
    while (stringValue.length() < numDigits) {
        stringValue = "0" + stringValue;
    }
    return stringValue;
}
/**
 * Converts a positive integer value to a string with a minimum length.
 * @param intValue A positive integer value.
 * @param numDigits The minimum length of the string in digits.
 * @return The integer converted to a string with minimum length.
 */
Converts a positive integer value to a string with a minimum length.
@param intValue A positive integer value.
@param numDigits The minimum length of the string in digits.
@return The integer converted to a string with minimum length.
Converts a positive integer value to a string with a minimum length . @param intValue A positive integer value . @param numDigits The minimum length of the string in digits . @return The integer converted to a string with minimum length .
std::string intToFixedLengthString(int intValue, int numDigits) {
    std::string stringValue = toString(intValue);
    while (stringValue.length() < numDigits) {
        stringValue = "0" + stringValue;
    }
    return stringValue;
}
std :: string intToFixedLengthString ( int intValue , int numDigits ) { std :: string stringValue = toString ( intValue ) ; while ( stringValue . length ( ) < numDigits ) { stringValue = " " + stringValue ; } return stringValue ; }
Converts a positive integer value to a string with a minimum length.
Converts a positive integer value to a string with a minimum length .