ConvertDataTypes.comConvert data types programming in one click !

Convert int to short in Java

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