Gestionnaire de fichiers - Editer - /opt/cpanel/ea-ruby24/root/usr/share/ri/system/String/to_i-i.ri
Arrière
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::BlankLine o: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"(p1 = v1);T@FI"String;TcRDoc::NormalClassI" scanf;T0
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Génération de la page: 0 |
proxy
|
phpinfo
|
Réglages