File tree 5 files changed +5
-5
lines changed
samples/Wizards/NumberFormat
5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 86
86
$ helper ->log ('<hr /><b>Code:</b><br /> ' );
87
87
$ helper ->log ('use PhpOffice\PhpSpreadsheet\Style\NumberFormat\Wizard; ' );
88
88
$ helper ->log (
89
- "\$mask = Wizard\Accounting(' {$ _POST ['currency ' ]}', {$ _POST ['decimals ' ]}, Wizard\Number:: " .
89
+ "\$mask = Wizard \\ Accounting(' {$ _POST ['currency ' ]}', {$ _POST ['decimals ' ]}, Wizard \ \Number:: " .
90
90
(isset ($ _POST ['thousands ' ]) ? 'WITH_THOUSANDS_SEPARATOR ' : 'WITHOUT_THOUSANDS_SEPARATOR ' ) .
91
91
(((bool ) $ _POST ['position ' ]) ? ', Wizard\Accounting::LEADING_SYMBOL ' : ', Wizard\Accounting::TRAILING_SYMBOL ' ) .
92
92
(((bool ) $ _POST ['spacing ' ]) ? ', Wizard\Accounting::SYMBOL_WITH_SPACING ' : ', Wizard\Accounting::SYMBOL_WITHOUT_SPACING ' ) .
Original file line number Diff line number Diff line change 86
86
$ helper ->log ('<hr /><b>Code:</b><br /> ' );
87
87
$ helper ->log ('use PhpOffice\PhpSpreadsheet\Style\NumberFormat\Wizard; ' );
88
88
$ helper ->log (
89
- "\$mask = Wizard\Currency(' {$ _POST ['currency ' ]}', {$ _POST ['decimals ' ]}, Wizard\Number:: " .
89
+ "\$mask = Wizard \\ Currency(' {$ _POST ['currency ' ]}', {$ _POST ['decimals ' ]}, Wizard \ \Number:: " .
90
90
(isset ($ _POST ['thousands ' ]) ? 'WITH_THOUSANDS_SEPARATOR ' : 'WITHOUT_THOUSANDS_SEPARATOR ' ) .
91
91
(((bool ) $ _POST ['position ' ]) ? ', Wizard\Currency::LEADING_SYMBOL ' : ', Wizard\Currency::TRAILING_SYMBOL ' ) .
92
92
(((bool ) $ _POST ['spacing ' ]) ? ', Wizard\Currency::SYMBOL_WITH_SPACING ' : ', Wizard\Currency::SYMBOL_WITHOUT_SPACING ' ) .
Original file line number Diff line number Diff line change 59
59
$ helper ->log ('<hr /><b>Code:</b><br /> ' );
60
60
$ helper ->log ('use PhpOffice\PhpSpreadsheet\Style\NumberFormat\Wizard; ' );
61
61
$ helper ->log (
62
- "\$mask = Wizard\Number( {$ _POST ['decimals ' ]}, Wizard\Number:: " .
62
+ "\$mask = Wizard \\ Number( {$ _POST ['decimals ' ]}, Wizard \ \Number:: " .
63
63
(isset ($ _POST ['thousands ' ]) ? 'WITH_THOUSANDS_SEPARATOR ' : 'WITHOUT_THOUSANDS_SEPARATOR ' ) .
64
64
')<br /> '
65
65
);
Original file line number Diff line number Diff line change 52
52
$ example = (string ) NumberFormat::toFormattedString ((float ) $ _POST ['number ' ], $ mask );
53
53
$ helper ->log ('<hr /><b>Code:</b><br /> ' );
54
54
$ helper ->log ('use PhpOffice\PhpSpreadsheet\Style\NumberFormat\Wizard; ' );
55
- $ helper ->log ("\$mask = Wizard\Percentage( {$ _POST ['decimals ' ]})<br /> " );
55
+ $ helper ->log ("\$mask = Wizard \\ Percentage( {$ _POST ['decimals ' ]})<br /> " );
56
56
$ helper ->log ('<hr /><b>Mask:</b><br /> ' );
57
57
$ helper ->log ($ mask . '<br /> ' );
58
58
$ helper ->log ('<br /><b>Example:</b><br /> ' );
Original file line number Diff line number Diff line change 52
52
$ example = (string ) NumberFormat::toFormattedString ((float ) $ _POST ['number ' ], $ mask );
53
53
$ helper ->log ('<hr /><b>Code:</b><br /> ' );
54
54
$ helper ->log ('use PhpOffice\PhpSpreadsheet\Style\NumberFormat\Wizard; ' );
55
- $ helper ->log ("\$mask = Wizard\Scientific( {$ _POST ['decimals ' ]})<br /> " );
55
+ $ helper ->log ("\$mask = Wizard \\ Scientific( {$ _POST ['decimals ' ]})<br /> " );
56
56
$ helper ->log ('<hr /><b>Mask:</b><br /> ' );
57
57
$ helper ->log ($ mask . '<br /> ' );
58
58
$ helper ->log ('<br /><b>Example:</b><br /> ' );
You can’t perform that action at this time.
0 commit comments