# DriverPropertyType.Float parsed wrong depending on locale

**URL:** <https://forum.inductiveautomation.com/t/driverpropertytype-float-parsed-wrong-depending-on-locale/6127>\
**Category:** Module Development\
**Created:** [March 30, 2013, 12:32pm UTC](https://forum.inductiveautomation.com/t/driverpropertytype-float-parsed-wrong-depending-on-locale/6127 "2013-03-30T12:32:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chi](https://avatars.discourse-cdn.com/v4/letter/c/0ea827/32.png) [@chi](https://forum.inductiveautomation.com/u/chi)\
**Post date:** [March 30, 2013, 12:32pm UTC](https://forum.inductiveautomation.com/t/driverpropertytype-float-parsed-wrong-depending-on-locale/6127/1 "2013-03-30T12:32:31Z")

</div>

I just encoutered another of those gateway locale problems.  
I’m using a driver property (extended from AbstractDriverProperty) with type Float. This works ok if the gateways locale is set to ‘en’, but with locale set to ‘de’ the decimal seperator is ignored, so the value ‘1.0’ becomes ‘10.0’.  
If i enter ‘1,0’ (using a comma) in the configuration page, the value is ok on the first driver restart, but becomes ‘10.0’ again when the gateway is restartet.

Ignition 7.5.6, Java 7.0.9
