Skip to main content

Float

A Float is one number that can include a fractional part, such as 0.75 or 2.5. Nodes use Floats for settings such as confidence thresholds and guidance.

For example, set Confidence Threshold on SAM3 Image to 0.75 to keep detections with confidence strictly greater than 0.75.

Enter a value​

Enter a number in a Float setting. Studio accepts decimal notation and scientific notation:

EntryValue
0.75Three quarters
2Two, stored as a Float in a Float setting
-0.5Negative one half
1e-30.001

Each Node decides which values its setting accepts. For example, SAM3 Image requires Confidence Threshold to be between 0 and 1, inclusive. A negative Float is valid as a number but fails that setting's check.

Limits and compatibility​

Studio accepts only finite numbers in Float settings. NaN, Infinity, and numbers too large to represent are rejected. Floats use 64-bit floating-point precision, so some decimal values are stored as approximations.

Float and Integer are different types. An Integer output does not become a Float when connected to a Float input, even when both represent the same number. Entering 2 directly into a Float setting creates a Float value.