Socrata was acquired by Tyler Technologies in 2018 and is now the Data and Insights division of Tyler. The platform is still powered by the same software formerly known as Socrata but you will see references to Data & Insights going forward.


Function: round
  Round a number to a given precision. Trailing zeros are removed by default. Negative precisions round numbers to the left of the decimal.


  round(5.019238481823, 2)
  -- Result: "5.02"

  round(5, 3)
  -- Result: "5"

  round(513.02, -1)
  -- Result: "510"

  round(3.1415, 2.2)
  -- Result: "3.14"

number, number -> number