ConvertDataTypes.comConvert data types programming in one click !

Convert float to byte[] in C#

    40857 hits
  • float vIn = 0.0f;
  • byte[] vOut = BitConverter.GetBytes(vIn);