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  -  HTML::FORMHANDLER::FIELD::FLOAT (3)

.ds Aq ’

NAME

HTML::FormHandler::Field::Float - validate a float value

CONTENTS

VERSION

version 0.40065

DESCRIPTION

This accepts a positive or negative float/integer. Negative numbers may be prefixed with a dash. By default a max of eight digits including 2 precision are accepted. Default decimal symbol is ’,’. Widget type is ’text’.



    # For example 1234,12 has size of 6 and precision of 2
    # and separator symbol of ,

    has_field test_result => (
        type                    => Float,
        size                    => 8,               # Total size of number including decimal part.
        precision               => 2,               # Size of the part after decimal symbol.
        decimal_symbol          => .,             # Decimal symbol accepted in web page form
        decimal_symbol_for_db   => .,             # For inflation. Decimal symbol accepted in DB, which automatically converted to.
        range_start             => 0,
        range_end               => 100
    );



    messages



   float_needed
   float_size
   float_precision



AUTHOR

FormHandler Contributors - see HTML::FormHandler

COPYRIGHT AND LICENSE

This software is copyright (c) 2016 by Gerda Shank.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 HTML::FORMHANDLER::FIELD::FLOAT (3) 2016-03-20

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