Class: qgsRound

class qgis.core.qgsRound(number: float, places: int)

Returns a double number, rounded (as close as possible) to the specified number of places.

New in version 3.0: