[Koha-bugs] [Bug 27630] TestBuilder real number precision to use column's size

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 4 21:58:23 CET 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27630

Lari Taskula <lari.taskula at hypernova.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Signoff               |Failed QA

--- Comment #3 from Lari Taskula <lari.taskula at hypernova.fi> ---
There's something I'm missing. When column type is "decimal", DBIx returns the
trailing decimal zeroes, but when it's "float", it returns only the numbers
until the significant precision.

So if column size for decimals is 4, and the number being 1.0100, I get the
following results from DBIx:
decimal: 1.0100
float: 1.01

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list