tbapi.api.enums.rounding_mode

 1from enum import Enum
 2from Tickblaze.Scripts.Api.Enums import RoundingMode as _RoundingMode
 3
 4class RoundingMode(Enum):
 5    """Specifies the mode of rounding."""
 6
 7    ToNearest = 0
 8    """Rounds to the nearest value."""
 9
10    Up = 1
11    """Rounds up."""
12
13    Down = 2
14    """Rounds down."""
class RoundingMode(enum.Enum):
 7class RoundingMode(Enum):
 8    """Specifies the mode of rounding."""
 9
10    ToNearest = 0
11    """Rounds to the nearest value."""
12
13    Up = 1
14    """Rounds up."""
15
16    Down = 2
17    """Rounds down."""

Specifies the mode of rounding.

ToNearest = <RoundingMode.ToNearest: 0>

Rounds to the nearest value.

Up = <RoundingMode.Up: 1>

Rounds up.

Down = <RoundingMode.Down: 2>

Rounds down.