Mal ne ganz blöde Frage, wieso geht:
nicht?
Gleiches Problem wenn ich
anwenden will!
Das sagt die API:
Code:
public String bla(){
long tmp = 11111111111111;
tmp = (tmp/100)*5
String q = tmp.toString();
return tmp;
}
nicht?
Gleiches Problem wenn ich
Code:
int i = 6;
String s = i.toString();
anwenden will!
Das sagt die API:
public String toString()
Returns a String object representing this Long's value. The value is converted to signed decimal representation and returned as a string, exactly as if the long value were given as an argument to the toString(long) method.
Overrides:
toString in class Object
Returns:
a string representation of the value of this object in base 10.