Bug #10576 » doc_bigdecimal_p1.patch
| ext/bigdecimal/bigdecimal.c (Arbeitskopie) | ||
|---|---|---|
|     } | ||
| } | ||
| /* Returns the absolute value. | ||
| /* Returns the absolute value, as a BigDecimal. | ||
|  * | ||
|  * BigDecimal('5').abs -> 5 | ||
|  * | ||
| ... | ... | |
|     return ToValue(c); | ||
| } | ||
| /* Return the integer part of the number. | ||
| /* Return the integer part of the number, as a BigDecimal. | ||
|  */ | ||
| static VALUE | ||
| BigDecimal_fix(VALUE self) | ||
| ... | ... | |
|     return ToValue(c); | ||
| } | ||
| /* Return the fractional part of the number. | ||
| /* Return the fractional part of the number, as a BigDecimal. | ||
|  */ | ||
| static VALUE | ||
| BigDecimal_frac(VALUE self) | ||