NAME
SPVM::Double - Double object
SYNOPSYS
use Double;
my $double_object = Double->new(0.25);
my $double_value = $double_object->value;
DESCRIPTION
Double object stores a double
value.
This object is immutable and its value cannot be changed.
Double is automatically loaded just after the program starts.
CLASS METHODS
new
static method new : Double ($value : double)
Create a new Double object with a double
value.
INSTANCE METHODS
value
method value : double ()
Get a double
value.