NAME
Data::Object::Base::Float
ABSTRACT
Data-Object Abstract Float Class
SYNOPSIS
package My::Float;
use parent 'Data::Object::Base::Float';
my $float = My::Float->new(9.9999);
DESCRIPTION
Data::Object::Base::Float provides routines for operating on Perl 5 floating-point data.
METHODS
This package implements the following methods.
new
new(Num $arg1) : Object
The new method expects a floating-point number and returns a new class instance.
- new example
-
# given 9.9999 package My::Float; use parent 'Data::Object::Base::Float'; my $float = My::Float->new(9.9999);
AUTHOR
Al Newkirk, awncorp@cpan.org
LICENSE
Copyright (C) 2011-2019, Al Newkirk, et al.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
PROJECT
SEE ALSO
To get the most out of this distribution, consider reading the following: