Package jline.lang.lal
Class LalFormat
java.lang.Object
jline.lang.lal.LalFormat
Python-compatible formatting helpers used in messages and model signatures.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringpyFloat(double v) Pythonrepr(float): shortest round-trip digits,inf/nan.static StringpyG(double v) Pythonformat(v, 'g'): six significant digits, trailing zeros removed.static StringPython tuple representation of a list of objects (one-element tuples keep the comma).
-
Method Details
-
pyFloat
Pythonrepr(float): shortest round-trip digits,inf/nan. -
tuple
Python tuple representation of a list of objects (one-element tuples keep the comma). -
pyG
Pythonformat(v, 'g'): six significant digits, trailing zeros removed.
-