diff --git a/VECTOAux/VectoAuxiliaries/Pneumatics/PneumaticActuationsMap.vb b/VECTOAux/VectoAuxiliaries/Pneumatics/PneumaticActuationsMap.vb index fd18e219ec4937ea35b529b4a0230f6f11032ad2..c2dc5a7b160ca31788af71caa12e3af2ba77ffd1 100644 --- a/VECTOAux/VectoAuxiliaries/Pneumatics/PneumaticActuationsMap.vb +++ b/VECTOAux/VectoAuxiliaries/Pneumatics/PneumaticActuationsMap.vb @@ -9,6 +9,7 @@ ' ' See the LICENSE.txt for the specific language governing permissions and limitations. +Imports System.Globalization Imports System.IO Namespace Pneumatics @@ -78,7 +79,7 @@ Namespace Pneumatics 'Should throw exception if ConsumerName or CycleName are empty. newKey = New ActuationsKey(elements(0).ToString(), elements(1).ToString()) - map.Add(newKey, CType(elements(2), Single)) + map.Add(newKey, Single.Parse(elements(2), CultureInfo.InvariantCulture)) Else firstline = False