Address @rigelrozanski comments

This commit is contained in:
Christopher Goes
2018-10-23 20:33:39 +02:00
parent edd56be952
commit 306fb8fb6d
9 changed files with 25 additions and 30 deletions
+1 -1
View File
@@ -247,7 +247,7 @@ func (d Dec) QuoInt(i Int) Dec {
return Dec{mul}
}
// is integer, e.g. decimals are zero.
// is integer, e.g. decimals are zero
func (d Dec) IsInteger() bool {
return new(big.Int).Rem(d.Int, precisionReuse).Sign() == 0
}