Partilhar via


FLOAT (Report Builder)

Converts a value to a float data type.

Syntax

FLOAT(value)

value

Indicates the number to convert to a float.

Remarks

  • Float data types allow you to be extremely precise in your calculations because your values are never rounded up or down.

Example

Formula Result

FLOAT(Tax Amt)

Converts each instance of the Tax Amt field to a float data type.

FLOAT(100/3)

33.3333333333

See Also

Concepts

Working with Formulas (Report Builder)
Using Functions (Report Builder)
Conversion Functions (Report Builder)
Report Builder How-to Topics
Working with Literals in Formulas and Filters (Report Builder)
Formatting Data, Text, and Images (Report Builder)

Help and Information

Getting SQL Server 2005 Assistance