Mistakes with !math_Modulus #3

Closed
opened 2026-03-17 12:51:08 +11:00 by DiamondNether90 · 1 comment
  • Currently the working syntax is math_Modulus, I'm assuming this is a typo
  • The docs use integers for its example, but a double is required
# From docs
call !math_Modulus 4 3 &remainder # fails as the arguments are ints.
println $remainder # outputs 1.000000, not 1
# Correct
call !math_Modulus 4.0 3.0 &remainder
println $remainder # 1.000000
- Currently the working syntax is `math_Modulus`, I'm assuming this is a typo - The docs use integers for its example, but a double is required ```py # From docs call !math_Modulus 4 3 &remainder # fails as the arguments are ints. println $remainder # outputs 1.000000, not 1 ``` ```py # Correct call !math_Modulus 4.0 3.0 &remainder println $remainder # 1.000000 ```
Owner

Should probably archive this, this is the old ground libraries repo

Should probably archive this, this is the old ground libraries repo
max closed this issue 2026-03-17 15:27:38 +11:00
This repo is archived. You cannot comment on issues.
No Label
2 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ground/libraries#3