How to round to 2 dec using math

using

${this._hass.states[this.config.entity_precip_intensity].state}

in my custom card outputs all decimals the entity has for state, in this case 4:

Schermafbeelding 2020-06-18 om 11.15.04

I would like to only display 2 decimals. However, if I use the math.round() function, it rounds to the nearest integer, which I this case is 0.

How can I round to 2, resulting in 0.48 ?

thanks for having a look

edit

this works for now (most as they say)

${Math.round(this._hass.states[this.config.entity_precip_intensity].state*100)/100}

pretty old school… sorry.

Schermafbeelding 2020-06-18 om 11.30.48