Class DoubleLiteralValue
java.lang.Object
org.ek9lang.compiler.support.literals.DoubleLiteralValue
- All Implemented Interfaces:
ToDoubleFunction<String>
THE value of an EK9 Float literal's text as a
double - EK9 Float is 64-bit. Handles
underscore-separated forms (1_000.5); throws NumberFormatException for anything else.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DoubleLiteralValue
public DoubleLiteralValue()
-
-
Method Details
-
applyAsDouble
- Specified by:
applyAsDoublein interfaceToDoubleFunction<String>
-