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)