mirror of
https://github.com/danieldemus/openhab-core.git
synced 2025-01-10 21:31:53 +01:00
ad3f6df25a
The constructors of DecimalType in ESH use BigDecimal.valueOf instead of new BigDecimal. Using valueOf is better because the new constuctors causes undesired rounding. For example the value 0.32 becomes: 0.320000000000000006661338147750939242541790008544921875. With valueOf this doesn't happen. This change will make it work the same as the ESH DecimalType Closes #371 Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl> |
||
---|---|---|
.. | ||
.settings | ||
lib | ||
META-INF | ||
OSGI-INF | ||
src/main/java/org/openhab | ||
.classpath | ||
.project | ||
about.html | ||
build.properties | ||
pom.xml |