Floor(), Round() angle incorrect
This is in Version 22.214.171.124.
If angle mode is set to degrees, when I put the following in a text box, the results are incorrect:
"" + round(theta)
For 0 < theta < ~28.6, the result is 0.
For ~28.6 < theta < ~85.7, the result is 57.3.
28.6 degrees is approximately 0.5 rad
57.3 degrees is approximately 1 rad
85.7 degrees is approximately 1.5 rad
it appears that Geogebra is rounding a radian value then converting to degrees, rather than rounding the degree value. Similar incorrect values occur for floor() and presumably ceil().
Interestingly, since asin() and acos() return numbers rather than angles, I am able to use round(acos(xCoordinate on a unit circle)) to get a correctly rounded degree measure (with appropriate logic to deal with which quadrant we're in).