private void addLowerLimitOfQuantification(System.Data.DataColumn importDataTableColumn, DataColumn dataColumn) { if (!importDataTableColumn.ExtendedProperties.ContainsKey(Constants.LLOQ)) { return; } var lowerLimitOfQuantification = (float)importDataTableColumn.ExtendedProperties[Constants.LLOQ]; dataColumn.DataInfo.LLOQ = Convert.ToSingle(dataColumn.ConvertToBaseUnit(lowerLimitOfQuantification)); }
private static float valueInBaseUnit(float valueInDisplayUnit, DataColumn column) { return(Convert.ToSingle(column.ConvertToBaseUnit(valueInDisplayUnit))); }