Hi,
How do you do integer div and mod in Cobra:
numberToTranslate = reminder \ bindingNumberLookup[i]
reminder = reminder mod bindingNumberLookup[i]
Thank you for the help!
Regards
Csaba
Forums
integer div and mod
3 posts
• Page 1 of 1
Re: integer div and mod
I don't know the notation,
you can try sharp'...' with c# expression
you can try sharp'...' with c# expression
- gauthier
- Posts: 116
Re: integer div and mod
i = j // k # integer division
i = j % k # integer modulus
- Charles
- Posts: 2515
- Location: Los Angeles, CA
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 76 guests