Skip to content

FlipSign

Description

Flips the sign of the given variable; positive values will become negative values, and vice versa.

Parameters

Variable

The variable to flip.

Return Value

Sets Variable to its flipped equivalent.

Syntax

FlipSign(var Variable)

Example

FlipSign(Object.Value5)