1HTML::FormFu::Deflator:U:sFeorrmCaotnNturmibbeurt(e3d)PHeTrMlL:D:oFcourmmeFnut:a:tDieofnlator::FormatNumber(3)
2
3
4

NAME

6       HTML::FormFu::Deflator::FormatNumber - Format a number for a locale
7

SYNOPSIS

9           locale: de_DE
10           elements:
11             - type: Text
12               name: number
13               deflators:
14                 - type: FormatNumber
15                   precision: 4
16
17             - type: Text
18               name: price
19               deflators:
20                 - type: FormatNumber
21                   precision: 2
22                   trailing_zeroes: 1
23
24           # "123456.22" will be rendered to "123.456,22" (german locale)
25
26   locale
27       If no locale is found, the server's locale will be used.
28
29       This method is a special 'inherited accessor', which means it can be
30       set on the form, a enclosing block element, the field, or this filter.
31       When the value is read, if no value is defined it automatically
32       traverses the element's hierarchy of parents, through any block
33       elements and up to the form, searching for a defined value.
34

AUTHOR

36       Moritz Onken, "onken at houseofdesign.de"
37

SEE ALSO

39       Is a sub-class of, and inherits methods from HTML::FormFu::Deflator
40
41       HTML::FormFu::Filter::FormatNumber
42
43       HTML::FormFu
44
46       Copyright 2008 Moritz Onken, all rights reserved.
47
48       This program is free software; you can redistribute it and/or modify it
49       under the same terms as Perl itself.
50
51
52
53perl v5.12.1                      2010-0H5T-M1L6::FormFu::Deflator::FormatNumber(3)
Impressum