diff --git a/VectoCommon/VectoCommon/Utils/SI.cs b/VectoCommon/VectoCommon/Utils/SI.cs index f95bd88e7de5898350167d83379e8df75d8480c4..a2e5377041695b1144c6c21788a6199be532ac54 100644 --- a/VectoCommon/VectoCommon/Utils/SI.cs +++ b/VectoCommon/VectoCommon/Utils/SI.cs @@ -1907,14 +1907,13 @@ namespace TUGraz.VectoCommon.Utils /// <summary> /// Returns the Unit Part of the SI Unit Expression. /// </summary> - private string GetUnitString() + public string GetUnitString() { if (Denominator.Any()) { if (Numerator.Any()) { return string.Concat(Numerator) + "/" + string.Concat(Denominator); - } else { - return "1/" + string.Concat(Denominator); } + return "1/" + string.Concat(Denominator); } if (Numerator.Any()) {