NAME
MOSES::MOBY::Data::Float - A primite Moby data type for float numbers
SYNOPSIS
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();
DESCRIPTION
An object representing a Float, a Moby primitive data type.
AUTHORS
Edward Kawas (edward.kawas [at] gmail [dot] com)
Martin Senger (martin.senger [at] gmail [dot] com)
ACCESSIBLE ATTRIBUTES
Details are in MOSES::MOBY::Base. Here just a list of them (additionally to the attributes from the parent classes)
- value
-
A value of this datatype. Must be a floating-point number.