Check if a Decimal value is greater than zero.
The Decimal instance to check
true if the value is greater than zero
isPositive(toDecimal("0.001")); // trueisPositive(toDecimal("0")); // falseisPositive(toDecimal("-1")); // false Copy
isPositive(toDecimal("0.001")); // trueisPositive(toDecimal("0")); // falseisPositive(toDecimal("-1")); // false
Check if a Decimal value is greater than zero.