Skip to content

ToUnit Method ​

Definition ​

  • Namespace: JASE.Extensions
  • Assembly: JASE.Primitives.dll

double ToUnit(double d, ByteSizeUnit unit) ​

csharp
double ToUnit(double d, ByteSizeUnit unit)

Converts the double value from bytes into the specified unit.

Returns ​

The converted value in the specified unit as a Double