Created attachment 25074 [details]
I can't create a budget in master. When I do I get this error:
round() overflow. Try smaller precision or use Math::BigFloat at /home/nengard/kohaclone/admin/aqbudgetperiods.pl line 258.
For help, please send mail to the webmaster (webmaster@debian), giving this error message and the time and date of the error.
Oh, and I should add that now I can't get to the existing budgets list either because it's giving me the same error....
Such thing happens after adding budget with 90071992547410 total amount or more - that's roughly 5x US national debt ;).
Plus, Koha accepts "Total amount" entered in scientific notation (eg. 1e14) so this might be the result of the typo.
Note #1: after it happens, I think it's not possible to delete such offending budget in any normal way; it needs to be deleted directly from the aqbudgetperiods table (or one can craft an url with ...?delete_confirmed=1&budget_period_id=.. to do so).
Note #2: this bug may be not reproducible in older installations (Number::Format module version < 1.72)
This appears to be fixed.