SPVM::Float - Float Class
my $float_object = Float->new(5); my $float_value = $float_object->value; $float_object->set_value(10);
Float is the class to hold a value of the float type.
Float
float
This class is automatically loaded.
has value : rw float;
The value.
static method new : Float ($value : float);
Creates a new Float object with a float $value.
$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.