Quiz Extract Problem

Chris Sharman Chris.Sharman@ccagroup.co.uk
Thu, 21 Dec 2000 16:23:51 +0000


>Now wouldn't it be nice if we had a function to format a numeric item (or
>expression) into a character string using a picture format of our choosing.
>Seems like a useful enhancement to replace all the tedious stuff like the
>above which we all spend to much time messing about with -- especially in a
>product which calls itself a "productivity tool".
>
>But I've abandoned sending enhancement requests to the Cognos bit-bucket :-(

But we have: it's called formatnumber.
I used the old, clunky, syntax as the original poster was on HP.
For anyone not similarly handicapped, its:

def pol-unit-price-z char*13 = formatn(pol-unit-price,"#######0.####")

I believe Bob said V8.30 onwards would have formatnumber on all platforms - or
am I dreaming again?

formatdate next please !!

Merry Christmas,
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.