1HTML::FormHandler::FielUds:e:rFlCooantt(r3i)buted Perl DHoTcMuLm:e:nFtoartmiHoanndler::Field::Float(3)
2
3
4

NAME

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

VERSION

9       version 0.40068
10

DESCRIPTION

12       This accepts a positive or negative float/integer.  Negative numbers
13       may be prefixed with a dash.  By default a max of eight digits
14       including 2 precision are accepted. Default decimal symbol is ','.
15       Widget type is 'text'.
16
17           # For example 1234,12 has size of 6 and precision of 2
18           # and separator symbol of ','
19
20           has_field 'test_result' => (
21               type                    => 'Float',
22               size                    => 8,               # Total size of number including decimal part.
23               precision               => 2,               # Size of the part after decimal symbol.
24               decimal_symbol          => '.',             # Decimal symbol accepted in web page form
25               decimal_symbol_for_db   => '.',             # For inflation. Decimal symbol accepted in DB, which automatically converted to.
26               range_start             => 0,
27               range_end               => 100
28           );
29
30   messages
31          float_needed
32          float_size
33          float_precision
34

AUTHOR

36       FormHandler Contributors - see HTML::FormHandler
37
39       This software is copyright (c) 2017 by Gerda Shank.
40
41       This is free software; you can redistribute it and/or modify it under
42       the same terms as the Perl 5 programming language system itself.
43
44
45
46perl v5.32.1                      2021-01-27HTML::FormHandler::Field::Float(3)
Impressum