Project

General

Profile

Bug #10576 ยป doc_bigdecimal_p1.patch

patch 1 - stomar (Marcus Stollsteimer), 12/06/2014 01:52 PM

View differences:

ext/bigdecimal/bigdecimal.c (Arbeitskopie)
1595 1595
    }
1596 1596
}
1597 1597

  
1598
/* Returns the absolute value.
1598
/* Returns the absolute value, as a BigDecimal.
1599 1599
 *
1600 1600
 * BigDecimal('5').abs -> 5
1601 1601
 *
......
1640 1640
    return ToValue(c);
1641 1641
}
1642 1642

  
1643
/* Return the integer part of the number.
1643
/* Return the integer part of the number, as a BigDecimal.
1644 1644
 */
1645 1645
static VALUE
1646 1646
BigDecimal_fix(VALUE self)
......
1762 1762
    return ToValue(c);
1763 1763
}
1764 1764

  
1765
/* Return the fractional part of the number.
1765
/* Return the fractional part of the number, as a BigDecimal.
1766 1766
 */
1767 1767
static VALUE
1768 1768
BigDecimal_frac(VALUE self)