MOSES::MOBY::Data::Float - A primite Moby data type for float numbers
use MOSES::MOBY::Data::Float; # create a Moby Float with initial value of -15.5 my $data = MOSES::MOBY::Data::Float->new (value => -15.5); my $data = MOSES::MOBY::Data::Float->new (-15.5); # later change the value of this data object $data->value (79); print $data->value();
An object representing a Float, a Moby primitive data type.
Edward Kawas (edward.kawas [at] gmail [dot] com) Martin Senger (martin.senger [at] gmail [dot] com)
Details are in MOSES::MOBY::Base. Here just a list of them (additionally to the attributes from the parent classes)
A value of this datatype. Must be a floating-point number.
To install MOSES::MOBY, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MOSES::MOBY
CPAN shell
perl -MCPAN -e shell install MOSES::MOBY
For more information on module installation, please visit the detailed CPAN module installation guide.