ConvertDataTypes.comConvert data types programming in one click !

Convert int to short in Java

    10484 hits
  • int vIn = -32768.0;
  • short vOut = (short)vIn;