
Fey::Literal::Number - Represents a literal number in a SQL statement

my $number = Fey::Literal::Number->new($number)

This class represents a literal number in a SQL statement, either an integer or float.

This module is a subclass of Fey::Literal.

This class provides the following methods:
This method creates a new Fey::Literal::Number object representing the number passed to the constructor.
Returns the number as passed to the constructor.
Returns the appropriate SQL snippet.

This class does the Fey::Role::Selectable and Fey::Role::Comparable roles.

Dave Rolsky, <autarch@urth.org>

See Fey for details on how to report bugs.

Copyright 2006-2008 Dave Rolsky, All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.