def __round__(self, ndigits: int | NumberVar = 0) -> NumberVar:
        """Round the number.

        Args:
            ndigits: The number of digits to round.

        Returns:
            The number round operation.
        """
        if not isinstance(ndigits, NUMBER_TYPES):
            raise_unsupported_operand_types("round", (type(self), type(ndigits)))

        return number_round_operation(self, +ndigits)
Round the number.

        Args:
            ndigits: The number of digits to round.

        Returns:
            The number round operation.
        
reflex/vars/number.py