MathUtilities.MegabytesToBytes(Single) 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 megabytes to bytes.
public static ulong MegabytesToBytes(float megabytes);
static member MegabytesToBytes : single -> uint64
Public Shared Function MegabytesToBytes (megabytes As Single) As ULong
Parameters
- megabytes
- Single
Value in megabytes.
Returns
Provided value converted to bytes.