Left Justify Numeric Data

Chris Sharman Chris.Sharman@ccagroup.co.uk
Fri, 20 Oct 2000 08:56:35 +0100


>INVOICE AMOUNT:         25.32
>
>Instead I'd like it to be:
>
>INVOICE AMOUNT: 25.32
>
>I've tried adding the "character" option to the field statement, but that 
>messes up the picture.
>
>Any suggestions without a lot procedural code?

field invoice-amount ... noformat

procedure output invoice-amount
 begin
 let fieldtext = formatn(...)
 end

... if you're on a platform which has formatnumber (maybe only VMS ?).
Whether this is "a lot" of procedural code depends on how many fields, I
suppose.

Chris
_______________________________________________________________________
Chris.Sharman@CCAgroup.co.uk		http://www.ccagroup.co.uk/
CCA Stationery Ltd, Eastway, Fulwood, Preston, Lancashire, PR2 9WS.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
This list is closed, thus to post to the list, you must be a subscriber.