openhab-core/bundles/org.openhab.core.compat1x
Hilbrand Bouwkamp ad3f6df25a Changed constructors DecimalType to work the same as ESH DecimalType (#372)
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>
2018-07-23 13:11:05 +02:00
..
.settings code cleanup to match expectations of static analysis tool (#151) 2017-06-02 16:40:55 +02:00
lib Added new enhanced sound fragment, which brings mp3 support on top of ESH. (#63) 2016-09-30 23:00:30 +02:00
META-INF Add Automatic-Module-Name entry to manifests (#369) 2018-07-21 16:07:17 +02:00
OSGI-INF Changed the indentation for some XML files from spaces to tabs (#310) 2018-03-12 18:17:58 +01:00
src/main/java/org/openhab Changed constructors DecimalType to work the same as ESH DecimalType (#372) 2018-07-23 13:11:05 +02:00
.classpath code cleanup to match expectations of static analysis tool (#151) 2017-06-02 16:40:55 +02:00
.project initial commit of openhab core components 2015-12-26 23:22:23 +01:00
about.html added about files 2017-04-07 16:26:59 +02:00
build.properties code cleanup to match expectations of static analysis tool (#151) 2017-06-02 16:40:55 +02:00
pom.xml [unleash-maven-plugin] Preparation for next development cycle. 2018-05-28 01:54:21 +02:00