Function miso::util::zfill

Function Documentation

inline std::string miso::util::zfill(int num, int width)

zero-fill integer to string

Parameters:
  • num – target integer number

  • width – width of the string

Returns:

zero-filled string representation of the integer