From 5ace06ce2872a1e4dd8fc93ca52df492bd4c5f45 Mon Sep 17 00:00:00 2001 From: Barun Date: Wed, 1 Sep 2021 22:14:38 +0545 Subject: [PATCH] fix typo --- _includes/rounding.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/rounding.md b/_includes/rounding.md index 7817c56..94a77ca 100644 --- a/_includes/rounding.md +++ b/_includes/rounding.md @@ -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)