chore: remove typo (#13914)
This commit is contained in:
parent
2c0d445ad3
commit
34dcca710b
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user