Softimage SDK Programmer's Guide > Script Development > Data Types and Return Values > What is 'Type'? >

# Float

A (single-precision 32-bit) floating point number has a decimal point. This data type is often simply called Float. This type uses less memory than the Double-precision floating-point number.

Language | Comments
--- | ---
VBScript | The VBScript single floating-point type contains a single-precision, floating-point number in the range -3.402823E38 to 3.402823E38 for positive values.
JScript | JScript uses a generic "number" data type which corresponds to integer values as well as floating point values. There is no specific single-precision floating-point type in JScript.
Python | Python uses float to represent both single and double floating-point values.
C++ | The C++ API uses float (4-byte single floating point number).
C# | The C# float type (System.Single) uses 7-digit precision and is in the approximate range ±1.5 ° 10-45 to ±3.4 ° 1038.

Tip

See Comparing Data Types across Languages for a table that compares the single-precision floating point data type across several different languages.

For high-level information about how these languages approach data type in general, see one of the following topics:

- Type in VBScript

- Type in JScript

- Type in Python

- Type in C++ (Comparison)

- Type in C# (Comparison)