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

as_string

integer.as_string

as_string(len i64,base u32) => String[src]
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

Arguments

len i64[src]
base u32[src]
0.099dev (GIT hash e2d5298d8107bb5fe79600fdb06a49bc75756344)
last changed: 2026-11-23