Edward Kawas > SADI-1.10 > SADI::Data::Float

Download:
SADI-1.10.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 1.03   Source   Latest Release: SADI-1.13

NAME ^

SADI::Data::Float - A primitive SADI data type for float numbers

SYNOPSIS ^

 use SADI::Data::Float;

 # create a SADI Float with initial value of -15.5
 my $data = SADI::Data::Float->new (value => -15.5);
 my $data = SADI::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.

AUTHORS ^

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

ACCESSIBLE ATTRIBUTES ^

Details are in SADI::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.

syntax highlighting: