integer function
The integer function returns the values of the specified attribute cast to the integer data type.
Parameters
integer(column)
Parameter | Description |
---|---|
column | The attribute whose values will be cast to the integer data type. |
Example - integer(column)
The following example uses the Sales _2017dataset.
Description | Screenshot |
---|---|
In this example, the Sales attribute is expressed as a continuous value, with two decimal places. | |
We have used the integer function to round off this continuous value to an integer, using the formula |