--- !ruby/object:RDoc::RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:RDoc::Markup::Flow::P 
  :body: Truncate to the nearest 1, returning the result as a BigDecimal.
- !ruby/struct:RDoc::Markup::Flow::P 
  :body: BigDecimal('3.14159').truncate -&gt; 3
- !ruby/struct:RDoc::Markup::Flow::P 
  :body: BigDecimal('8.7').truncate -&gt; 8
- !ruby/struct:RDoc::Markup::Flow::P 
  :body: If n is specified and positive, the fractional part of the result has no more than that many digits.
- !ruby/struct:RDoc::Markup::Flow::P 
  :body: If n is specified and negative, at least that many digits to the left of the decimal point will be 0 in the result.
- !ruby/struct:RDoc::Markup::Flow::P 
  :body: BigDecimal('3.14159').truncate(3) -&gt; 3.141
- !ruby/struct:RDoc::Markup::Flow::P 
  :body: BigDecimal('13345.234').truncate(-2) -&gt; 13300.0
full_name: BigDecimal#truncate
is_singleton: false
name: truncate
params: |
  truncate(n)

visibility: public
