math_round
Rounds a value.
Target
Signature
1math_round(value, factor= ?)Rounds a value.
math_round is a global callable that can be used wherever an expression is valid. math_round is part of numeric expression work. Be deliberate about integer versus decimal inputs because several math helpers preserve or infer the result type from their arguments.
Parameters
value- Required value. Supply
valuepositionally unless the signature shows a keyword form. factor- Optional value. Supply
factorpositionally unless the signature shows a keyword form.
Examples
Basic call
1math_round(3.14159, 2)The example keeps numeric inputs explicit so integer and decimal behavior remain visible.