1HTML::FormFu::Filter::FUosremratCNounmtbreirb(u3t)ed PerHlTMDLo:c:uFmoernmtFaut:i:oFnilter::FormatNumber(3)
2
3
4

NAME

6       HTML::FormFu::Filter::FormatNumber - Convert a formatted number from a
7       known locale
8

VERSION

10       version 2.07
11

SYNOPSIS

13       This filter simply does the opposite of
14       HTML::FormFu::Deflator::FormatNumber. It removes all thousands
15       separators and decimal points and returns the raw number which can be
16       handled by perl.  See "unformat_number" in Number::Format for more
17       details.
18
19           locale: de_DE
20           elements:
21             - type: Text
22               name: number
23               filters:
24                 - type: FormatNumber
25
26           # An input value like "13.233.444,22" will be transformed to "13233444.22"
27           # Same for "13233444,22"
28

METHODS

30   locale
31       If no locale is found, the server's locale will be used.
32
33       This method is a special 'inherited accessor', which means it can be
34       set on the form, a enclosing block element, the field, or this filter.
35       When the value is read, if no value is defined it automatically
36       traverses the element's hierarchy of parents, through any block
37       elements and up to the form, searching for a defined value.
38

AUTHOR

40       Moritz Onken, "onken at houseofdesign.de"
41

SEE ALSO

43       Is a sub-class of, and inherits methods from HTML::FormFu::Filter
44
45       HTML::FormFu::Deflator::FormatNumber
46
47       HTML::FormFu
48
50       Copyright 2008 Moritz Onken, all rights reserved.
51
52       This program is free software; you can redistribute it and/or modify it
53       under the same terms as Perl itself.
54

AUTHOR

56       Carl Franks <cpan@fireartist.com>
57
59       This software is copyright (c) 2018 by Carl Franks.
60
61       This is free software; you can redistribute it and/or modify it under
62       the same terms as the Perl 5 programming language system itself.
63
64
65
66perl v5.32.0                      2020-07-H2T8ML::FormFu::Filter::FormatNumber(3)
Impressum