FileSizeSizeRounded(Int32, NumberFormatInfo) Property

Gets the filesize, rounded using the most approximated unit of size, with the specified decimal precision.

Definition

Namespace: DevCase.Core.IO.FileSystem
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public string this[
	int decimalPrecision,
	NumberFormatInfo numberFormatInfo = null
] { get; }

Parameters

decimalPrecision  Int32
The decimal precision.
numberFormatInfo  NumberFormatInfo  (Optional)
A NumberFormatInfo format provider.

Property Value

String
The rounded value, with the specified decimal precision.

See Also