int() command, does it exist?

I have been using in a code the syntax

x = 161;

n = 16;

b = int(x/n);

I got b = 10.

Checking on the Command Reference Manual, I realized that the int() command does not exist, yet it works!

Has someone an answer to this riddle?

1 Answer



0



int is indeed an undocumented function that has the same action as floor. It is recommended to use the floor function since it is documented.

Your Answer


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 30 days for FREE

See what GAUSS can do for your data

© Aptech Systems, Inc. All rights reserved.

Privacy Policy