ConvertDataTypes.comConvert data types programming in one click !

Convert long to short in Java

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