NetTalk Central

Author Topic: Numeric fields broken. Adds extra following zeros. (4.40)  (Read 3615 times)

spot1701

  • Jr. Member
  • **
  • Posts: 77
    • View Profile
Numeric fields broken. Adds extra following zeros. (4.40)
« on: December 01, 2009, 05:50:00 AM »
Nettalk 4.40
Clarion 6.3.9095

Run example 1. Enter the form and enter a number into the size limit field. The number will get following zeros added to it.
This only seems to happen when the field is a dictionary field and is a long/real.

A show stopper for me, so will be reverting unless there is a quick fix?
Thanks

Bryan

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Numeric fields broken. Adds extra following zeros. (4.40)
« Reply #1 on: December 01, 2009, 06:32:42 AM »
Thanks for the report Bryan - fixed in 4.41 which I've already uploaded.

cheers
Bruce

spot1701

  • Jr. Member
  • **
  • Posts: 77
    • View Profile
Re: Numeric fields broken. Adds extra following zeros. (4.40)
« Reply #2 on: December 02, 2009, 02:38:10 AM »
No it isn't fixed in 4.41.
Downloaded it this morning, and the bug is still there.
Thanks

Bryan

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Numeric fields broken. Adds extra following zeros. (4.40)
« Reply #3 on: December 03, 2009, 05:49:01 AM »
Hi Bryan,

Seems I can't get the build right - my fault sorry.
In the mean time make the fix in your netweb.clw file
search for
Code: [Select]
  ans = choose(instring('.',loc:pic,1,1)>0,deformat(loc:value),deformat(loc:value,loc:pic))and replace with
Code: [Select]
  ans = choose(instring('`',loc:pic,1,1)=0,deformat(loc:value),deformat(loc:value,loc:pic))
Sorry again.
cheers
Bruce