this thing is driving me crazy!!

by Maryam Naveed » Mon, 07 Jul 2008 12:04:28 GMT


Sponsored Links
 hey all!!
i have a little question??
how can integers be displayed on the screen??
do i have to type cast  it??
i have a simple loop for adding an integer and at the end it displays that
value??
but i simply cant do that??
please help meeeeeeeeeeeeeeeeee:D!!
regards
maryam

--~--~---------~--~----~------------~-------~--~----~



this thing is driving me crazy!!

by Muhammad Farhan Bashir » Tue, 08 Jul 2008 17:19:46 GMT


 Salam,
           I think you have already answered your question.Definitely you
have to type cast the integer to the string if the setText function did not
take values other than string.






--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


this thing is driving me crazy!!

by Maryam Naveed » Wed, 09 Jul 2008 10:23:58 GMT


 thnx!! alot:D
type casting is teh laimest thing to do:(
but i think no other option then

On Tue, Jul 8, 2008 at 1:36 PM, Muhammad Farhan Bashir <





--~--~---------~--~----~------------~-------~--~----~



this thing is driving me crazy!!

by Casey Borders » Wed, 09 Jul 2008 14:48:10 GMT


 It's not really a typecast, you have to use the String.valueOf() static
method.  It will take a whole host of types and return their string
equivalent.







--~--~---------~--~----~------------~-------~--~----~