User Tools

Site Tools

한국어

logicpython:cubloc_api:float

This is an old revision of the document!


Float

Convert a numeric value to a fixed-point string with 5 decimal places.

Syntax

from cubloc import Float
 
Float(value: int | float)

Parameters

  • value: Integer or floating-point value.

Return Value

Returns the numeric value formatted as fixed-point text with 5 decimal places.

Exceptions

Example

from cubloc import Float
 
# Example usage
result = Float(1)
print(result)
logicpython/cubloc_api/float.1775786798.txt.gz · Last modified: by 127.0.0.1