Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

as_string

integer.as_string

(len i32, base u32)
 => 
String
convert this to a number using the given base. If negative, add "-" as
the first character. Extend with leading "0" until the length is at
least len
Precondition
pre
  debug: 1 < base ≤ 36
Postcondition
post
  debug: result.byte_count ≥ len
0.095dev (GIT hash 09dff08de289bbb6f7136c7e2f8c66dcc1856bba)
last changed: 2026-04-16