UtilDigitalInformationConvertSizeToDiscStorage Method
Converts a size to a disc-storage size.
Namespace: DevCase.Core.IO.DigitalInformationAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
No code example is currently available or this language may not be supported.
- size Double
-
The source size to convert.
- fromSizeUnit DigitalStorageUnits
-
From unit of size.
- toDiscSize DiscStorageSizes
-
To disc-storage size.
Double
The resulting value of the size conversion.
This is a code example.
No code example is currently available or this language may not be supported.
Dim size As Double = 6.5 ' Gigabytes.
Dim dvdSize As Double = ConvertSizeToDiscStorage(6.5, SizeUnits.Gigabyte, DiscSize.DVD)
Console.WriteLine(String.Format("To write {0} GB you need to burn {1} DVDs.", size, Math.Ceiling(dvdSize)))
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.