int (<num>)
numeric
The truncated integer value.
<num>
The value to be truncated.
The following returns the value 5.
numeric i = int(5)
The following returns the value 5.
i = int(5.01)
The following returns the value 5.
i = int(5.9)
The following returns the value -5.
i = int(-5.9)
Functions: |