int(): what does it mean?

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


The int command will round the input down to the next lowest integer.

print int(3.9);

will print out:

print int(-3.9);

will print out:


You must login to post answers.

Have a Specific Question?

Get a real answer from a real person

Need Support?

Get help from our friendly experts.

Try GAUSS for 14 days for FREE

See what GAUSS can do for your data

© Aptech Systems, Inc. All rights reserved.

Privacy Policy