Home » Developer & Programmer » Reports & Discoverer » Report Builder 10.1.2.0.2 (10.1.2.0.2)
Report Builder 10.1.2.0.2 [message #382256] Wed, 21 January 2009 09:54 Go to next message
averion
Messages: 42
Registered: January 2009
Location: US
Member
Hello Experts,

I am using oracle reports(10.1.2.0.2).
I have a value which is stored in the database as 79.8 and I need to display it in a report as $0.798. Right now I am using the format mask as LNNNGNNNGNN0D00 but it is convertin it to $.80.Is there a way to do it other than by Trunc in the query itself.

Thanks

[Updated on: Wed, 21 January 2009 10:03]

Report message to a moderator

Re: Report Builder 10.1.2.0.2 [message #382259 is a reply to message #382256] Wed, 21 January 2009 10:05 Go to previous messageGo to next message
JRowbottom
Messages: 5933
Registered: June 2006
Location: Sunny North Yorkshire, ho...
Senior Member
try LNNNGNNNGNN0D000 as a format mask
Re: Report Builder 10.1.2.0.2 [message #382289 is a reply to message #382259] Wed, 21 January 2009 15:07 Go to previous messageGo to next message
Littlefoot
Messages: 20901
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Certainly; three digits after the decimal character are required in this case.

However: if column value is 79.8 and you want to display it as 0.798, wouldn't you first have to divide column value with 100 in order to properly display it?
Re: Report Builder 10.1.2.0.2 [message #382462 is a reply to message #382259] Thu, 22 January 2009 07:24 Go to previous messageGo to next message
averion
Messages: 42
Registered: January 2009
Location: US
Member
Thanks, its working now
Re: Report Builder 10.1.2.0.2 [message #382463 is a reply to message #382289] Thu, 22 January 2009 07:25 Go to previous message
averion
Messages: 42
Registered: January 2009
Location: US
Member
I had already divided that by 100. Thanks for the help experts.
Previous Topic: Formatting problem
Next Topic: Printing to more than one printer from Paramform
Goto Forum:
  


Current Time: Sat Dec 10 05:30:06 CST 2016

Total time taken to generate the page: 0.08628 seconds