API Reference › Huge › Huge.from
method

Huge.from

Huge.from(value) -> Huge

Lifts a plain int into a Huge, the starting point for idle-game magnitudes that grow past the integer range.

Example

program Demo {
  handler Step phase Update {
    var gold = Huge.from(1000)
  }
}
← All symbols