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

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.


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.