Function pad_asset
Source pub fn pad_asset(n: u32) -> String
Expand description
Formats an asset number with the three-digit legacy subject width.
The number is zero-padded to at least three digits; longer numbers are not
truncated.
§Arguments
§Examples
pad_asset(7) -> "007"
pad_asset(1456) -> "1456"