Scroll to navigation

PGObject::Type::BigFloat(3pm) User Contributed Perl Documentation PGObject::Type::BigFloat(3pm)

NAME

PGObject::Type::BigFloat - Math::BigFloat wrappers for PGObject classes

VERSION

Version 2.001

SYNOPSIS

    use PGObject::Type::BigFloat;
    PGObject::Type::BigFloat->register(); # Get all numeric and float types

    my $self->{foo} = PGObject::Type::BigFloat->new(0);

    $self->call_dbmethod(funcname => 'bar'); # will use this as a numeric

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.

AUTHOR

Chris Travers, "<chris.travers at gmail.com>"

BUGS

Please report any bugs or feature requests to "bug-pgobject-type-bigfloat at rt.cpan.org", or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=PGObject-Type-BigFloat>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc PGObject::Type::BigFloat

You can also look for information at:

ACKNOWLEDGEMENTS

LICENSE AND COPYRIGHT

Copyright 2013-2014 Chris Travers.

This program is released under the following license: BSD

2018-06-06 perl v5.26.2