SPVM::Double - Double in SPVM | Double object
use Double; my $double_object = Double->new(0.25); my $double_value = $double_object->value;
Double object stores a double value.
double
This object is immutable and its value cannot be changed.
Double is automatically loaded just after the program starts.
static method new : Double ($value : double)
Create a new Double object with a double value.
method value : double ()
Get a double value.
To install SPVM, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SPVM
CPAN shell
perl -MCPAN -e shell install SPVM
For more information on module installation, please visit the detailed CPAN module installation guide.