Skip to main content

checked_add_python_scale

Function checked_add_python_scale 

Source
pub fn checked_add_python_scale(a: Decimal, b: Decimal) -> Option<Decimal>
Expand description

Overflow-checked add_python_scale.

None on value-range overflow, matching Decimal::checked_add — BQL maps that to NULL rather than panicking, so the checked form is what the expression evaluator needs.