private string ExtractAbbreviation(UnitHolder u) { return((u.Prefix?.Abbreviation ?? "") + u.Unit.GetAbbreviation(u.Dimension)); }
private double Multiply(UnitHolder u, double value, uint dimension) { return(value * u.Unit.CalculateToRawValue(1d, u.Dimension * dimension) * (u.Prefix?.Factor ?? 1d)); }