HEX
Server: Apache
System: Linux vps-cdc32557.vps.ovh.ca 5.15.0-156-generic #166-Ubuntu SMP Sat Aug 9 00:02:46 UTC 2025 x86_64
User: hanode (1017)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //usr/share/ri/3.0.0/system/String/to_i-i.ri
U:RDoc::AnyMethod[iI"	to_i:ETI"String#to_i;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[
I"OReturns the result of interpreting leading characters in <i>str</i> as an ;TI"Qinteger base <i>base</i> (between 2 and 36). Extraneous characters past the ;TI"Nend of a valid number are ignored. If there is not a valid number at the ;TI"Rstart of <i>str</i>, <code>0</code> is returned. This method never raises an ;TI")exception when <i>base</i> is valid.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim;	[I"("12345".to_i             #=> 12345
;TI"%"99 red balloons".to_i   #=> 99
;TI"$"0a".to_i                #=> 0
;TI"%"0a".to_i(16)            #=> 10
;TI"$"hello".to_i             #=> 0
;TI"&"1100101".to_i(2)        #=> 101
;TI")"1100101".to_i(8)        #=> 294977
;TI"*"1100101".to_i(10)       #=> 1100101
;TI"*"1100101".to_i(16)       #=> 17826049;T:@format0:
@fileI"
string.c;T:0@omit_headings_from_table_of_contents_below0I"$str.to_i(base=10)   -> integer
;T0[I"(*args);T@FI"String;TcRDoc::NormalClass00