⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.133
Server IP:
185.119.109.197
Server:
Linux managedhosting.chostar.me 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
proc
/
self
/
root
/
usr
/
share
/
ri
/
3.0.0
/
system
/
Kernel
/
View File Name :
Float-i.ri
U:RDoc::AnyMethod[iI" Float:ETI"Kernel#Float;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"@Returns
arg
converted to a float. Numeric types are ;TI":converted directly, and with exception to String and ;TI"3
nil
the rest are converted using ;TI"E
arg
.to_f
. Converting a String with invalid ;TI"
nil generates a TypeError. Exceptions can be ;TI"9suppressed by passing
exception: false
.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [ I"&Float(1) #=> 1.0 ;TI"*Float("123.456") #=> 123.456 ;TI"^Float("123.0_badstring") #=> ArgumentError: invalid value for Float(): "123.0_badstring" ;TI"JFloat(nil) #=> TypeError: can't convert nil into Float ;TI"8Float("123.0_badstring", exception: false) #=> nil;T:@format0: @fileI"kernel.rb;T:0@omit_headings_from_table_of_contents_below0I"4Float(arg, exception: true) -> float or nil ;T0[ I"(arg, exception: true);T@FI"Kernel;TcRDoc::NormalModule00