Skip to content

Commit

Permalink
rounded not round
Browse files Browse the repository at this point in the history
  • Loading branch information
relyt29 committed Aug 21, 2024
1 parent bcc86c5 commit 6d2b8b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion math/dec.go
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ func (x Dec) Quo(y Dec) (Dec, error) {
return z, errors.Wrap(err, "decimal quotient error")
}

// MulExact returns a new dec with value x * y. The product must not be round or
// MulExact returns a new dec with value x * y. The product must not be rounded or
// ErrUnexpectedRounding will be returned.
func (x Dec) MulExact(y Dec) (Dec, error) {
var z Dec
Expand Down

0 comments on commit 6d2b8b0

Please sign in to comment.