Programming Course for Beginners - ZedLX

The Easiest Online Computer Programming Course, for Free

The Type int [2/14]

A getter is a member that produces a value.

The getter .round converts a value of type num to type int.

In the other direction, a value of type int is automatically converted to type num.

Note: A type of a variable cannot be changed.