SPVM::Float - Float object
use SPVM::Float; my $float_object = SPVM::Float->new(0.25f); my $float_value = $float_object->val;
SPVM::Float object stores a float value.
float
This object is immutable.
sub new : SPVM::Float ($value : float)
Create a new SPVM::Float object with specific float value.
sub val : float ($self : self)
Get a float 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.