chore: remove typo (#13914)

This commit is contained in:
Julien Robert
2022-11-18 07:51:47 +00:00
committed by GitHub
parent 2c0d445ad3
commit 34dcca710b
-4
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) {