SPVM::Float − A float value as An Object
Float class in SPVM represents a float value as an object.
my $float_object
= Float−>new(5);
my $float_value = $float_object−>value;
This class is immutable.
This class is automatically loaded.
|
• |
Stringable |
"has value : ro float;"
The value.
"static method new : Float ($value : float);"
Creates a new Float object with a "float" $value.
"method to_string : string ();"
Casts the value to string type and returns it.
Copyright (c) 2023 Yuki Kimoto
MIT License