Jump to content
JasperReports Library 7.0 is now available ×

Convert Field Type Expression


berlim

Recommended Posts

Hi everyone,

I searched around the forum for this, but I was unable to find anyone posing this question about fields.

 

Basically, I have an xml data source where every tag is of xs:string. Thus, the fields must also be of String type. I would like to convert the field string to an integer so I can use the automatic formatter for the commas. How would I go about this? I know I can change the xml to make it xs:int, but I would prefer to keep it as a string and change it on the template (if possible)

 

Thanks for any help anyone can offer.

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...