Function miso::util::zfill
Defined in File utility.hpp
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