From f3eac4fb6504eb4c706bd4f71a0362bf9858d11a Mon Sep 17 00:00:00 2001 From: david Date: Tue, 21 Jun 2022 21:09:28 +0300 Subject: [PATCH] Fix numerator typo --- decimal.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/decimal.go b/decimal.go index a025bdb..c833a97 100644 --- a/decimal.go +++ b/decimal.go @@ -125,7 +125,7 @@ func NewFromBigInt(value *big.Int, exp int32) Decimal { } } -// NewFromBigRat returns a new Decimal from a big.Rat. The nominator and +// NewFromBigRat returns a new Decimal from a big.Rat. The numerator and // denominator are divided and rounded to the given precision. // // Example: