--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Return the largest integer less than or equal to the value, as a BigDecimal. - !ruby/struct:SM::Flow::P body: BigDecimal('3.14159').floor -> 3 - !ruby/struct:SM::Flow::P body: BigDecimal('-9.1').floor -> -10 - !ruby/struct:SM::Flow::P body: If n is specified and positive, the fractional part of the result has no more than that many digits. - !ruby/struct:SM::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:SM::Flow::P body: BigDecimal('3.14159').floor(3) -> 3.141 - !ruby/struct:SM::Flow::P body: BigDecimal('13345.234').floor(-2) -> 13300.0 full_name: BigDecimal#floor is_singleton: false name: floor params: | floor(n) visibility: public