Breadcrumbs

convertToFloat() Operation for Integer Values

Syntax

set aFloat = anInteger.convertToFloat()

Semantics

Reclassifies the integer as Float.

Substitutables

anInteger

Can be any variable or object attribute having the type Integer.

Examples

set aFloat = anInteger.convertToFloat();

Some Examples

Source Integer

Target Float

1234

1234.00

-1234

-1234.00

⬇️

ActionScript_TypeConversions_Example

Click here to download a simple example model that shows different possibilities for type conversions between Float, Integer, String, and Boolean types in Scheer PAS Designer.

📗