<html>
<body>
<font size=3>At 08:08 AM 12/2/2005, John Stires wrote:<br>
<blockquote type=cite class=cite cite="">One of my coworkers has been
rather perplexed with NCONVERT.&nbsp; He is attempting to convert a
number with a decimal component.&nbsp; Instead of getting a numeric with
the decimal component still intact, he is getting in integer
number.&nbsp; He has tried using NUM and FLOAT for the receiving defined
field.&nbsp; Both with the same results.&nbsp; <br>
&nbsp;</blockquote><br>
It would be helpful to see the NCONVERT construct.&nbsp; I've used it in
PH 8.39 on HP, typically in a define something like this:<br><br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>DEFINE
D-AMOUNT CHAR*12 = NCONVERT(AMOUNT /100,
&quot;#,###,###.##&quot;,&quot;-####,###.##&quot;)<br><br>
Dividing AMOUNT by 100 is necessary on the HP due to the numbers being
stored as integers.&nbsp; If your storage format includes the decimal
value, you don't need to do the division.<br><br>
John<br>
</font></body>
<br>
<div>------------------------------------------------------------------</div>
<div>John Pearce&nbsp; &lt;jlpearce@adelphia.net&gt;</div>
Colorado Springs, CO&nbsp; USA
</html>