View Single Post
Old November 6th, 2012, 04:13 AM   #2 (permalink)
Ride2Live
New Member
 
Join Date: Nov 2012
Posts: 5
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 3 Times in 3 Posts
Default

There is no double type representstion for String type.
You should use byteArray
string hallo1 = zahl1.getText();
string hallo2 = zahl2.getText();
byte [] bytes1 = hallo1.getBytes();
byte [] bytes2 = hallo2.getBytes();

if text encoding - UTF-8, every byte in array its a char representation in integer.

You cant simply convert String to Double or Int

Tell me what you want to do with this strings?
Math operations are not allowed for strings
Ride2Live is offline  
Last edited by Ride2Live; November 6th, 2012 at 04:15 AM. Reason: add question
Reply With Quote
The Following User Says Thank You to Ride2Live For This Useful Post:
Cr4a (November 6th, 2012)