Modulo Operator
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
15-01-17 04:31 PM
Hi,
It surprises me that to do a simple x Modulo y operation in BP is so difficult. It is a basic operation but I cant seem to figure out how to do it anywhere.
Does anyone know how to make this work?
Thanks.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
16-01-17 05:53 PM
Hi Stephen - there is no modulus operator that you can use directly in a calculation stage I'm afraid. You could however write a 1 line code stage (eg OutputNumber = InputNumber1 Mod InputNumber2) as a work around.
