Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Moin, ich weiss, Grundwissen aber dennoch frage ich nochmal. Wie konvertiere ich einen short in einen double Wert?
short t = 2; double b; b = (double)t;
So?
Ja, genau so geht's (OK, den expliziten Cast kannst du auch weglassen und einfach b=t; schreiben).
b=t;