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


SADI documentation  | view source Contained in the SADI distribution.

Index


NAME

Top

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

SYNOPSIS

Top

 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

Top

An object representing a Float.

AUTHORS

Top

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

ACCESSIBLE ATTRIBUTES

Top

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.


SADI documentation  | view source Contained in the SADI distribution.