ConvertDataTypes.comConvert data types programming in one click !

Convert double to short in Java

    8440 hits
  • double vIn = -32768.0;
  • short vOut = (short)vIn;