private double?displayValueFrom(double?baseValue) { if (!baseValue.HasValue) { return(null); } if (Unit == null || Dimension == null) { return(baseValue); } return(Dimension.BaseUnitValueToUnitValue(Unit, baseValue.Value)); }
public double DisplayValueAt(int i) { return(Dimension.BaseUnitValueToUnitValue(DisplayUnit, ValueAt(i))); }