MOSES::MOBY::Data::Float - A primite Moby data type for float numbers


MOSES-MOBY documentation  | view source Contained in the MOSES-MOBY distribution.

Index


NAME

Top

MOSES::MOBY::Data::Float - A primite Moby data type for float numbers

SYNOPSIS

Top

 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

Top

An object representing a Float, a Moby primitive data type.

AUTHORS

Top

 Edward Kawas (edward.kawas [at] gmail [dot] com)
 Martin Senger (martin.senger [at] gmail [dot] com)

ACCESSIBLE ATTRIBUTES

Top

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.


MOSES-MOBY documentation  | view source Contained in the MOSES-MOBY distribution.