Package net.sf.saxon.serialize.jcs
Class NumberToJSON
java.lang.Object
net.sf.saxon.serialize.jcs.NumberToJSON
Number serialization support.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringserializeNumber(double value) Formats a number according to ES6.
-
Method Details
-
serializeNumber
Formats a number according to ES6.This code is emulating 7.1.12.1 of the EcmaScript V6 specification.
- Parameters:
value- Value to be formatted- Returns:
- String representation
- Throws:
IOException-
-