This is an old revision of the document!
Format a floating-point number with fixed whole and fractional digit counts.
from cubloc import FP FP(value: float, wholeNumberDigits: int, fractionalNumberDigits: int)
value to format.Returns a fixed-point string using the requested whole-number and fractional digit counts.
from cubloc import FP # Example usage result = FP(1, 1, 1) print(result)