I have encountered the same problem in 
ND 4.1.3.8.  

It only happens when you specify "0" decimal 
places in the formatting of a display 
field.  It seems like NetD converts your 
numeric into an int (32 bits) before 
formatting for output.

You should be able to correct this problem
yourself by setting the formatting of your
field to "1" in the Studio.  Then you would
override <field>_onBeforeDisplayEvent() to
round and truncate the digits off of
your floating point number and set that
back into your display field.  Then you would
override <field>_onBeforeHtmlOutputEvent()
to take the ".0" out of the HTML string
(using <field>.getHtmlText() and 
setHtmlText()).


Phil Kinkade

(The opinions expressed here are mine and
are not necessarily a reflection of
Countrywide Home Loans)


"Steve" <[EMAIL PROTECTED]> wrote:

>
>I have a field in an oracle databse defined as number(10).  In ND I set format type
 as number, enabled with zero decimal.  The number shows up on my screen as floating
 point if I enter more than 9 numbers.  Nine or less formats ok. Any ideas.  
>Thanks,
>
> 

_________________________________________________________________________

For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html

For dire need help, email: [EMAIL PROTECTED]

Reply via email to