https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17138
--- Comment #4 from Marcel de Rooy <m.de.r...@rijksmuseum.nl> --- + if ( $data->{'amount'} ne sprintf('%.6f', $amount) ) { Why not force them both to sprintf and get rid of the hardcoded 6 ? Or would rounding with Math::Round::nearest be better than sprintf ? my $info = $schema->source('Accountline')->column_info('amount'); my $scale = $info->{size}->[1]; -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/