method
Decimal.mul
Decimal.mul(a, b) -> Decimal
Returns the exact product; the result's scale is the sum of the operands' scales, so no precision is lost.
Example
program Demo {
handler Step phase Update {
let line = Decimal.mul(price, quantity)
}
}