PGObject::Type::BigFloat3pm
Math::bigfloat wrappers for pgobject classes
Usage
use PGObject::Type::BigFloat;PGObject::Type::BigFloat->register(); # Get all numeric and float typesmy $self->{foo} = PGObject::Type::BigFloat->new(0);$self->call_dbmethod(funcname => 'bar'); # will use this as a numeric
Version
Version 2.001
Subroutines/methods
register(registry => 'default', types => ['float4', 'float8', 'numeric'])
to_db
This serializes this into a simple db-friendly form.
from_db
take simple normalized db floats and turn them into numeric representations.
is_undef(optionally $set);
Return undef to the db or user interface. Can be set through apps.
Support
You can find documentation for this module with the perldoc command.
perldoc PGObject::Type::BigFloat
You can also look for information at:
- •
-
RT: CPAN's request tracker (report bugs here)
<http://rt.cpan.org/NoAuth/Bugs.html?Dist=PGObject-Type-BigFloat>
- •
-
AnnoCPAN: Annotated CPAN documentation
<http://annocpan.org/dist/PGObject-Type-BigFloat>
- •
-
CPAN Ratings
<http://cpanratings.perl.org/d/PGObject-Type-BigFloat>
- •
-
Search CPAN
<http://search.cpan.org/dist/PGObject-Type-BigFloat/>
Acknowledgements
License and copyright
Copyright 2013-2014 Chris Travers.
This program is released under the following license: BSD
Releases
5 releases since Debian 9 (Stretch); the text changed 3 times.