Interface ISizeConversionOptions
Options for how to convert time to a different unit.
public interface ISizeConversionOptions
Examples
Size.Mebibytes(2).ToKibibytes(); // yields 2048
Size.Kibibytes(2050).ToMebibytes(new SizeConversionOptions { Rounding = SizeRoundingBehavior.FLOOR });
Remarks
ExampleMetadata: infused
Properties
Rounding
How conversions should behave when it encounters a non-integer result.
SizeRoundingBehavior? Rounding { get; }
Property Value
Remarks
Default: SizeRoundingBehavior.FAIL