ConvertDataTypes.comConvert data types programming in one click !

Convert long to short in Java

    14011 hits
  • long vIn = 32767;
  • short vOut = (short)vIn;