SPVM::Float - Float object
use Float; my $float_object = Float->new(0.25f); my $float_value = $float_object->value;
Float object stores a float value.
float
This object is immutable and its value cannot be changed.
Float is automatically loaded just after the program starts.
static method new : Float ($value : float)
Create a new Float object with a float value.
method value : float ()
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.