Round Text Value From Returned JSON?

I am getting the weather as JSON and pulling out the temperature like this

Weather
   Currently: %JSONValue%weather_results.current.temp%

Which correctly gives me

Weather
   Currently: 60.35

But I cannot figure out how to round the temperature. This does not work

Weather
   Currently: ROUND(%JSONValue%weather_results.current.temp%)

Use the KM FUNCTION JSONVALUE function instead of the KM token.
The ROUND() function requires a numeric parameter.

Bravo, thank you!
Simpler than my 2 step hack where I first put the value in a variable

1 Like