duster/js/test_cases/helpers_math
2020-06-13 13:16:25 -04:00
..
input1.json Initial structure for the perform_math_operation function. 2020-06-13 13:16:25 -04:00
main.dust Initial structure for the perform_math_operation function. 2020-06-13 13:16:25 -04:00
README.md Initial structure for the perform_math_operation function. 2020-06-13 13:16:25 -04:00

Early termination

If the math helper has a body then it stops rendering conditionals after the first conditional that returns true. Rendering an else block does not cause early termination, but else blocks are rendered.

Non-number values

If the math operation involves non-numbers, NaN is returned.