1HTML::FormFu::Element::UNsuemrbeCro(n3t)ributed Perl DocHuTmMeLn:t:aFtoiromnFu::Element::Number(3)
2
3
4
6 HTML::FormFu::Element::Number - Number element with formatting
7
9 ---
10 elements:
11 - type: Number
12 locale: de_DE
13 precision: 2
14 trailing_zeroes: 1
15
17 This element formats numbers according to the current locale. You can
18 set this locale either by setting "$form->locale" or by setting the
19 element's locale. If none of them is set the element uses the system's
20 locale.
21
23 locale
24 Set the locale for this element. The format of the number is chosen
25 according to this locale.
26
27 precision
28 Set the precision for the number. Defaults to 2.
29
30 trailing_zeroes
31 If this is set to 1 the number has trailing zeroes. Defaults to 0.
32
34 HTML::FormFu::Deflator::FormatNumber
35
36 HTML::FormFu::Filter::FormatNumber
37
38 "locale" in HTML::FormFu
39
41 Moritz Onken " onken at houseofdesign.de "
42
43
44
45perl v5.12.1 2010-05-23 HTML::FormFu::Element::Number(3)