Skip to main content
Skip table of contents

absolute() Operation for Float Values

Syntax

set absFloat = aFloat.absolute()

Semantics

Returns the absolute value as a Float value.

Substitutables

aFloat

Can be any variable or object attribute having the type Float

Examples

CODE
set absFloat = aFloat.absolute();

Some Examples

Source Float

Target Float

123.45

123.45

-123.45

123.45

ActionScript_TypeConversions_Example

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

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.