How to get rounded state value from API (based on configured precision)


After configuring precision on some of my sensors (temperatures for instance), I would like to retrieve their rounded state value via the API, but I still receive the raw value ? Their is a way to retrieve the rounded value or, otherwise, the configured precision ?

Thanks !