Edward Kawas > OWL2Perl-1.00 > OWL::Data::Float

Download:
OWL2Perl-1.00.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 1.03   Source  

NAME ^

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

SYNOPSIS ^

 use OWL::Data::Float;

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