Converts a real number to an integer.
Tip: If you want to fix()
the outcome of a division, simply use the integer division operator ().
fix(number)
returns numeric
Name | Type | Required | Default | Description |
---|---|---|---|---|
number | numeric | Yes | The number to convert |
fix(1.8)