Name
SPVM::Float - Float Class
Usage
my $float_object = Float->new(5);
my $float_value = $float_object->value;
$float_object->set_value(10);
Description
Float
is the class to hold a value of the float
type.
This class is automatically loaded.
Fields
value
has value : rw float;
The value.
Class Methods
new
static method new : Float ($value : float)
Create a new Float object with a float
value.