diff --git a/FlyingProbeConverter.cs b/FlyingProbeConverter.cs index 353dab8..775e710 100644 --- a/FlyingProbeConverter.cs +++ b/FlyingProbeConverter.cs @@ -137,7 +137,7 @@ protected override bool ProcessMatchedLine(TextConverterBase.SearchFields.Search measUnit[0] == 'K' ? 1000 : measUnit[0] == 'M' ? 1000000 : measUnit[0] == 'U' ? 0.000001 : measUnit[0] == 'N' ? 0.000000001 : 1; double factorRef = refUnit.Length <= 1 ? 1 : refUnit[0] == 'K' ? 1000 : refUnit[0] == 'M' ? 1000000 : refUnit[0] == 'U' ? 0.000001 : refUnit[0] == 'N' ? 0.000000001 : 1; - double factorAdjustMeasWith = factorMeas * factorRef; + double factorAdjustMeasWith = factorMeas / factorRef; measure = measure * factorAdjustMeasWith; measUnit = refUnit; }