NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Mike Grigsby on September 14, 2008, 10:16:39 AM

Title: Controlling formatting in EIP
Post by: Mike Grigsby on September 14, 2008, 10:16:39 AM
I'm having trouble controlling number formatting in EIP browses. Take for example the case of putting in a shipping rate. I'm using @n-10.2 as the formatting (I've also tried it with single quotes in the format with no difference). Rates should show as:

12.95
10.50
11.50

but instead look like:

12.95
10.5
11.50

Is there a way of getting my trailing zero back?
Title: Re: Controlling formatting in EIP
Post by: Bruce on September 14, 2008, 10:03:17 PM
Hi Mike,

you've got 10.5 and 11.50 ?
Is that correct or a typo?
If you are getting the 0 on the 11.50 one then I guess that's the pic to use...

Cheers
Bruce
Title: Re: Controlling formatting in EIP
Post by: Bruce on September 15, 2008, 02:07:52 AM
Hi Mike,

I've fixed the problem in 4.31 PR14.
However it's a simple fix if you want to tweak your \clarion6\libsrc\netweb.clw file.

In NetWebServerWorker.CreateInput method,
the line
if not omitted(7) !(p_picture)
should read
if not omitted(8) !(p_picture)

there are some other questions asked about EIP though which I've also fixed, so I think a PR14 release will happen today - and that's obviously the best for you.

Cheers
Bruce