The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
Modulo operator in RM?
Hey,
Is there a Modulo operator in RM5?
Like java: a % b = c
http://en.wikipedia.org/wiki/Modulo_operator
Is there a Modulo operator in RM5?
Like java: a % b = c
http://en.wikipedia.org/wiki/Modulo_operator
0
Answers
this should work everywhere where expressions are allowed/evaluated. The syntax is equal to Java, as you posted it. Just tried it with a simple example. Regards,
Matthias
Its even defined on non integers!
So you don't need to floor stuff.
Thanks!