Package org.cip4.lib.xjdf.type
Class DoubleAdapter
java.lang.Object
org.cip4.lib.xjdf.type.DoubleAdapter
Adapter for the double values.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringdoubleToString(Double value) Converts a double to a String.static DoublestringToDouble(String value) Parses a String converting it to a double.
-
Method Details
-
doubleToString
Converts a double to a String.- Parameters:
value- Double to convert.- Returns:
- String representation of a double.
-
stringToDouble
Parses a String converting it to a double.- Parameters:
value- String to convert.- Returns:
- Parsed double.
-