method
Decimal.from
Decimal.from(value) -> Decimal
Lifts a whole int into a Decimal with scale zero — a starting point for exact money arithmetic.
Example
program Demo {
handler Step phase Update {
let qty = Decimal.from(3)
}
}