VaKeR CYBER ARMY
Logo of a company Server : Apache
System : Linux host44.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
User : vapecompany ( 2719)
PHP Version : 7.4.33
Disable Function : NONE
Directory :  /proc/self/root/opt/alt/ruby18/share/ri/1.8/system/String/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/self/root/opt/alt/ruby18/share/ri/1.8/system/String/to_i-i.yaml
--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Returns the result of interpreting leading characters in <em>str</em> as an integer base <em>base</em> (between 2 and 36). Extraneous characters past the end of a valid number are ignored. If there is not a valid number at the start of <em>str</em>, <tt>0</tt> is returned. This method never raises an exception.
- !ruby/struct:SM::Flow::VERB 
  body: "   &quot;12345&quot;.to_i             #=&gt; 12345\n   &quot;99 red balloons&quot;.to_i   #=&gt; 99\n   &quot;0a&quot;.to_i                #=&gt; 0\n   &quot;0a&quot;.to_i(16)            #=&gt; 10\n   &quot;hello&quot;.to_i             #=&gt; 0\n   &quot;1100101&quot;.to_i(2)        #=&gt; 101\n   &quot;1100101&quot;.to_i(8)        #=&gt; 294977\n   &quot;1100101&quot;.to_i(10)       #=&gt; 1100101\n   &quot;1100101&quot;.to_i(16)       #=&gt; 17826049\n"
full_name: String#to_i
is_singleton: false
name: to_i
params: |
  str.to_i(base=10)   => integer

visibility: public

VaKeR 2022