PA Designer Learn 4: More Python Commands

3. The int() function

The int(  ) function returns the integer part of a number. This is the part of the number that comes before the decimal point.

In the above code int(elapsed_time()) returns the elapsed time in whole seconds only.