Jump to content
JasperReports Library 7.0 is now available ×

integer and string concetanation


2006 IR Open Dicussion

Recommended Posts

By: tolga gucuk - e111982

integer and string concetanation

2006-02-02 07:20

Hi. I want concetanate an inter and a string.so i have to cast my integer value to string. how can i do this? thanks.

 

 

 

 

By: pubDispName - mellino

RE: integer and string concetanation

2006-02-02 09:12

Value expression:

 

$F{F_INTEGER_FIELD}.toString() + "hello"

or

$F{F_INTEGER_FIELD}.toString() + $F{F_STRING}

 

 

 

 

By: Armandor - armandor777

RE: integer and string concetanation

2006-06-08 12:14

I have the inversal problem, I have a string and i want to cast to Integer.

 

 

 

 

By: TBG - thebiggunner

RE: integer and string concetanation

2006-06-09 00:34

Integer.valueOf($F{STRING_FIELD})

 

 

 

 

By: TBG - thebiggunner

RE: integer and string concetanation

2006-06-09 00:35

And what do you want to do with two Integers?:) Are you supposed to add them?:)

 

 

 

 

By: Armandor - armandor777

RE: integer and string

2006-06-09 07:59

Thanks your help is very usefull,

I just need 1 integer from string, because I want to compare with another values that i can chance the foreground depanding of the value.

 

 

 

 

By: TBG - thebiggunner

RE: integer and string concetanation

2006-06-11 22:57

Hmm...why don't you use Integer fields?

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...