Skip to main content



      Home
Home » Archived » BIRT » How do I format data in hexadecimal?
How do I format data in hexadecimal? [message #261092] Fri, 09 November 2007 16:05 Go to next message
Eclipse UserFriend
Hi,

I would like to know how to display integer data in hexadecimal in a
BIRT report.

Thanks,

Alain
Re: How do I format data in hexadecimal? [message #261100 is a reply to message #261092] Fri, 09 November 2007 18:45 Go to previous message
Eclipse UserFriend
Here is one way to do it: call java.lang.Integer.toString() from Javascript.
Use the following data expression:

Packages.java.lang.Integer.toString(row["my_column"], 16)


--
Gary Xue [Actuate Corporation | BIRT Committer]
Get BIRT Tips at: http://birt-exchange.com/


"Alain Marchand" <amarchan@matrox.com> wrote in message
news:fh2i2k$7ef$1@build.eclipse.org...
> Hi,
>
> I would like to know how to display integer data in hexadecimal in a BIRT
> report.
>
> Thanks,
>
> Alain
Previous Topic:Report Updates with timer
Next Topic:Open Source Software Research
Goto Forum:
  


Current Time: Sun May 11 18:57:54 EDT 2025

Powered by FUDForum. Page generated in 0.02242 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top