louchios

Arcade expression round decimal to zero decimal places

Discussion created by louchios on Jan 10, 2019
Latest reply on Jan 11, 2019 by xander_bakker

I have the following Arcade expression. However, it does not round to the nearest whole number. It always produces a number with two decimal places. Not sure if I am doing something wrong? Thanks.

 

var grid = $feature.GRIDCODE*10
var roundedValue = Round(grid, 0)
roundedValue

Outcomes