Thread Frage zu Übersetzung (19 answers)
Opened by renee at 2009-11-22 19:55

renee
 2009-11-23 09:45
#128464 #128464
User since
2003-08-04
14371 Artikel
ModeratorIn
[Homepage] [default_avatar]
Für Vorschläge wäre ich dankbar... Hier mit etwas mehr Kontext:

Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
Rounding in financial applications can have serious implications, and the 
rounding method used should be specified precisely. In these cases, it probably
pays not to trust whichever system rounding is being used by Perl, but to instead
implement the rounding function you need yourself.

To see why, notice how you'll still have an issue on half-way-point alternation:

for ($i = 0; $i < 1.01; $i += 0.05) { printf "%.1f ",$i}

0.0 0.1 0.1 0.2 0.2 0.2 0.3 0.3 0.4 0.4 0.5 0.5 0.6 0.7 0.7
0.8 0.8 0.9 0.9 1.0 1.0
OTRS-Erweiterungen (http://feature-addons.de/)
Frankfurt Perlmongers (http://frankfurt.pm/)
--

Unterlagen OTRS-Workshop 2012: http://otrs.perl-services.de/workshop.html
Perl-Entwicklung: http://perl-services.de/

View full thread Frage zu Übersetzung