Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _includes/rounding.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ The reason for this default is **to prevent biasing the average** upwards or dow
The default rounding mode can not be changed because it affects how values are reduced to a precision.
With a fixed internal rounding mode, an input value will always result in the same decimal value for a given precision,
regardless of the environment. However, some methods allow you to provide a rounding mode, which can be any of the following constants:
- `Decimal::ROUND_UP` (away from from)
- `Decimal::ROUND_UP` (away from zero)
- `Decimal::ROUND_DOWN` (towards zero)
- `Decimal::ROUND_CEILING` (towards positive infinity)
- `Decimal::ROUND_FLOOR` (towards negative infinity)
Expand Down