Your IP : 3.128.201.71


Current Path : /opt/alt/ruby18/share/ri/1.8/system/Numeric/
Upload File :
Current File : //opt/alt/ruby18/share/ri/1.8/system/Numeric/truncate-i.yaml

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

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Returns <em>num</em> truncated to an integer. <tt>Numeric</tt> implements this by converting its value to a float and invoking <tt>Float#truncate</tt>.
full_name: Numeric#truncate
is_singleton: false
name: truncate
params: |
  num.truncate    => integer

visibility: public

?>