API Reference › BigInt › BigInt.str
method

BigInt.str

BigInt.str(a) -> string

Renders the full value as decimal text, with a leading - when negative. This is how you display or serialize a BigInt.

Example

program Demo {
  handler Step phase Update {
    Screen.draw_text(8, 8, BigInt.str(score), Color.White, 1)
  }
}
← All symbols