1HTML::FormFu::Deflator:U:sFeorrmCaotnNturmibbeurt(e3d)PHeTrMlL:D:oFcourmmeFnut:a:tDieofnlator::FormatNumber(3)
2
3
4
6 HTML::FormFu::Deflator::FormatNumber - Format a number for a locale
7
9 version 2.07
10
12 locale: de_DE
13 elements:
14 - type: Text
15 name: number
16 deflators:
17 - type: FormatNumber
18 precision: 4
19
20 - type: Text
21 name: price
22 deflators:
23 - type: FormatNumber
24 precision: 2
25 trailing_zeroes: 1
26
27 # "123456.22" will be rendered to "123.456,22" (german locale)
28
29 locale
30 If no locale is found, the server's locale will be used.
31
32 This method is a special 'inherited accessor', which means it can be
33 set on the form, a enclosing block element, the field, or this filter.
34 When the value is read, if no value is defined it automatically
35 traverses the element's hierarchy of parents, through any block
36 elements and up to the form, searching for a defined value.
37
39 Moritz Onken, "onken at houseofdesign.de"
40
42 Is a sub-class of, and inherits methods from HTML::FormFu::Deflator
43
44 HTML::FormFu::Filter::FormatNumber
45
46 HTML::FormFu
47
49 Copyright 2008 Moritz Onken, all rights reserved.
50
51 This program is free software; you can redistribute it and/or modify it
52 under the same terms as Perl itself.
53
55 Carl Franks <cpan@fireartist.com>
56
58 This software is copyright (c) 2018 by Carl Franks.
59
60 This is free software; you can redistribute it and/or modify it under
61 the same terms as the Perl 5 programming language system itself.
62
63
64
65perl v5.34.0 2022-0H1T-M2L1::FormFu::Deflator::FormatNumber(3)