ceil_decimal
Documentation for eth_defi.lighter.api.ceil_decimal function.
- ceil_decimal(value, step)
Round a decimal up to the next step.
- Parameters
value (decimal.Decimal) – Value to round.
step (decimal.Decimal) – Rounding step.
- Returns
Rounded value.
- Return type