MathUtilities.BytesToMegabytes(UInt64) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts bytes to megabytes.
public static float BytesToMegabytes(ulong bytes);
static member BytesToMegabytes : uint64 -> single
Public Shared Function BytesToMegabytes (bytes As ULong) As Single
Parameters
- bytes
- UInt64
Value in bytes.
Returns
Provided value converted to megabytes.