NetTalk Central

Author Topic: Controlling formatting in EIP  (Read 3582 times)

Mike Grigsby

  • Sr. Member
  • ****
  • Posts: 380
    • Yahoo Instant Messenger - onthedotsoftware
    • View Profile
    • MyHomeAssets! Software (among others)
Controlling formatting in EIP
« 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?
Mike Grigsby
Credify Systems
Central Oregon, USA

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Controlling formatting in EIP
« Reply #1 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

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Controlling formatting in EIP
« Reply #2 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