method
Huge.exp
Huge.exp(a) -> int
Returns the base-10 exponent — how many orders of magnitude the value spans.
Example
program Demo {
handler Step phase Update {
let order = Huge.exp(gold)
}
}Huge.exp(a) -> int
Returns the base-10 exponent — how many orders of magnitude the value spans.
program Demo {
handler Step phase Update {
let order = Huge.exp(gold)
}
}