chore: remove typo (#13914)

This commit is contained in:
Julien Robert 2022-11-18 08:51:47 +01:00 committed by GitHub
parent 2c0d445ad3
commit 34dcca710b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,10 +46,6 @@ func (x Dec) IsPositive() bool {
return !x.dec.Negative && !x.dec.IsZero()
}
func (x Dec) IsFinite() bool {
return x.dec.Form != apd.Finite
}
// NewDecFromString returns a new Dec from a string
// It only support finite numbers, not NaN, +Inf, -Inf
func NewDecFromString(s string) (Dec, error) {