GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  ORYX::VALUE::FLOAT (3)

.ds Aq ’

NAME

Oryx::Value::Float - Values containing floating-point data

CONTENTS

SYNOPSIS



  package CMS::LedgerEntry;

  use base qw( Oryx::Class );

  our $schema = {
      attributes => [ {
          name => summary,
          type => String,
      }, {
          name => amount,
          type => Float,
      } ],
  };

  $x = CMS::Picture->create({
      summary => New PDA,
      amount  => 342.17,
  });



DESCRIPTION

This value stores floating-point data. It has an optional field called precision that can be used to set how many decimal places should be stored in the database.

This value type is checked to see that it is in fact a decimal number and is stored with the Float primitive type.

SEE ALSO

Oryx::Value

AUTHOR

Richard Hundt <richard NO SPAM AT protea-systems.com>

COPYRIGHT AND LICENSE

This library is free software and may be used under the same terms as Perl itself.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 ORYX::VALUE::FLOAT (3) 2006-02-17

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.