NAME
SPVM::Float - Float in SPVM | Float object
SYNOPSYS
use Float;
my $float_object = Float->new(0.25f);
my $float_value = $float_object->value;
DESCRIPTION
Float object stores a float
value.
This object is immutable and its value cannot be changed.
Float is automatically loaded just after the program starts.
CLASS METHODS
new
sub new : Float ($value : float)
Create a new Float object with a float
value.
INSTANCE METHODS
value
sub value : float ($self : self)
Get a float
value.