Sign

From GECK
Jump to: navigation, search


A function added by the JohnnyGuitar NVSE Plugin.

Description

Returns sign of a value.

Syntax

[help]
(1, -1:int) Sign value:float

Example

set result to Sign 5  ; * returns 1