I am trying to figure out a simple module operation by the data type of float.
float a=3.14f;
float b=10f;
result=a%b;
I get the result = 3.14
Another example of using decimal data types:
decimal p=10;
decimal q=40;
result=p%q;
receiving a response = 20.
I donβt understand how the module works?
source
share