https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19593
--- Comment #13 from Chris Cormack <ch...@bigballofwax.co.nz> --- Ok, discount is a float(6,4) .. and tax_rate is a decimal(6,4), $VAR1 = { 'bookselleremail' => undef, 'notes' => 'notes2', 'address2' => 'address2-2', 'booksellerurl' => undef, 'booksellerfax' => undef, 'url' => 'url2', 'address1' => 'address1_2', 'phone' => 'phone2', 'listprice' => undef, 'fax' => 'fax2', 'id' => 44, 'invoiceincgst' => 1, 'currency' => '', 'accountnumber' => 'accountnumber2', 'name' => 'Name2', 'deliverytime' => 2, 'postal' => 'postal2', 'tax_rate' => '2.0000', 'gstreg' => 1, 'listincgst' => 1, 'invoiceprice' => undef, 'address4' => 'address4_2', 'discount' => '2', 'othersupplier' => undef, 'address3' => 'address3_2', 'active' => 1 }; It's handing back 2 instead of 2.0000 but fine for tax_rate, if I change the db to be decimal, it works Not to do with this bug, ill fix the basketcount thing, and push that, but this test needs looking into more -- You are receiving this mail because: You are the assignee for the bug. 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/