Method: OraNumber#abs

Defined in:
ext/oci8/ocinumber.c

#absOraNumber

Returns the absolute value of self.

Returns:



1499
1500
1501
1502
1503
1504
1505
1506
# File 'ext/oci8/ocinumber.c', line 1499

static VALUE onum_abs(VALUE self)
{
    OCIError *errhp = oci8_errhp;
    OCINumber result;

    chkerr(OCINumberAbs(errhp, _NUMBER(self), &result));
    return oci8_make_ocinumber(&result, errhp);
}