koha-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Koha-devel] Dewey character


From: MJ Ray
Subject: Re: [Koha-devel] Dewey character
Date: Thu Aug 12 15:38:01 2004

On 2004-08-12 20:25:11 +0100 Chris Cormack <address@hidden> wrote:

The problem is that mysql helpfully trims leading 0's. Which are perfectly valid in Dewey. So we would have to write code to add 0's to the front if we did that.

Stupid mysql. Is sprintf("%06.2f\n",$dewey) simple enough, or is it a problem with how many places Dewey is displayed? (Inspired by man perlfaq4)

Maybe making it character would help LC support, though. Maybe even the same search range theory could work with both, but I forget the specifics of SQL character fields and range operators.

--
MJR/slef    My Opinion Only and not of any group I know
http://www.ttllp.co.uk/ for creative copyleft computing
Please email about: BT alternative for line rental+DSL;
Education on SMEs+EU FP6; office filing that works fast




reply via email to

[Prev in Thread] Current Thread [Next in Thread]