Cuemon .NET Framework
BytesToMegabytes Method

The bytes to be converted.
Converts the specified bytes to its equivalent representation in megabytes.
Public Shared Function BytesToMegabytes( _
   ByVal bytes As Long _
) As Double
public static double BytesToMegabytes( 
   long bytes


The bytes to be converted.

Return Value

A megabyte representation equivalent to the specified bytes.

Target Platforms: Windows 8, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also


NumberUtility Class
NumberUtility Members



| Cuemon is licensed under a The MIT License (MIT)

© 2009-2015 Weubphoria. All Rights Reserved.

Documentation made easy with Document! X by Innovasys

Send Feedback