HP3000-L Archives

January 2002, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Richard Barker <[log in to unmask]>
Reply To:
Richard Barker <[log in to unmask]>
Date:
Fri, 18 Jan 2002 10:36:39 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (33 lines)
Does anyone know why this happens.  I've created a subfile to calculate
currency conversions and then place the values in the database (Image).

In the subfile I have

  Key               Value       Value * 100

  LHRGB             1340        134000


I write these values to the database and when I display them in Quiz:


  Key                   Val          Val *100       Actual Value

  LHRGB                 1339        133900         1,339


Does anyone know why I'm losing 1.

In the PDL definition is:

    Item     Type            Size  Occ  Offset
    TAX-AMT  INTEGER SIGNED     4    5      32


I can't find any special rounding on the element.

Help.

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2