Method: BigDecimal#zero?
- Defined in:
- bigdecimal.c
#zero? ⇒ Boolean
Returns True if the value is zero.
1638 1639 1640 1641 1642 1643 |
# File 'bigdecimal.c', line 1638
static VALUE
BigDecimal_zero(VALUE self)
{
Real *a = GetVpValue(self, 1);
return VpIsZero(a) ? Qtrue : Qfalse;
}
|