This function performs a modulus operation and returns the result.
Parameter | Description |
---|---|
value | value to determine the modulus for |
divisor | value to divide by |
Returns the result of the modulus operation.
#include "UltraEngine.h"
using namespace UltraEngine;
int main(int argc, const char* argv[])
{
float a = 735;
a = Mod(a, 360);
Print(a);
return 0;
}