Dear all,
I have a question about the function int()
:
DataMask = DataMask~( int(DataProv./(2^(n-i))) );
DataProv = DataProv-(2^(n-i))*( int(DataProv[.,1]./(2^(n-i))) );
How does int()
work? What does it return?
Thank you in advance for your help.
1 Answer
0
The int
command will round the input down to the next lowest integer.
print int(3.9);
will print out:
3.000
print int(-3.9);
will print out:
-3.000
Your Answer
1 Answer
0
The int
command will round the input down to the next lowest integer.
print int(3.9);
will print out:
3.000
print int(-3.9);
will print out:
-3.000