Restored from previous forum. Originally posted by cfriedel.
Hi. Wondering if there was a way to do a modulus function in PB? If anyone could help me it would be appreciated. Checked the docs and couldn't find one so far. Thanks.
Cliff
Modulus operator or function?
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by wavemaker.
Hi,
I've updated the MathExtras library to include that function:
IMod(dividend,divisor)
I've sent it to Paul and I guess he could post it tomorrow at http://www.reelmediaproductions.com/pb, but if you are in a hurry I can send you the library.
I hope this was what you were looking for.
Bye,
Juan Calderón Alonso
Registered user
Hi,
I've updated the MathExtras library to include that function:
IMod(dividend,divisor)
I've sent it to Paul and I guess he could post it tomorrow at http://www.reelmediaproductions.com/pb, but if you are in a hurry I can send you the library.
I hope this was what you were looking for.
Bye,
Juan Calderón Alonso
Registered user
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm