Skip to main content.
home | support | download

Back to List Archive

Re:

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Mon Dec 18 2006 - 18:28:42 GMT
On Mon, Dec 18, 2006 at 10:06:06AM -0800, Erik Holm wrote:
> Hi all,
> I've been trying to figure this one out for some time, hopefully someone
> out there already knows the answer.  While executing a search, I'd like
> to format the "swishrank" property as a percentage.  For example, if the
> rank is 1000, I'd like it formatted as %100.0.  I've been trying to use
> the "x" parameter to do this (-x '<propertyname fmt=3D"propfmtstr">'), bu=
> t
> can't figure out what propfmtstr should be.  Does anyone know the proper
> format string?

I don't think you can do that math in the format string.  Can't you do
this in your application?

-- 
Bill Moseley
moseley@hank.org

Unsubscribe from or help with the swish-e list: 
   http://swish-e.org/Discussion/

Help with Swish-e:
   http://swish-e.org/current/docs
   swish-e@sunsite.berkeley.edu
Received on Mon Dec 18 10:28:44 2006