Name

sign — Returns the sign of the number/array

Synopsis

sign (x);

Returns

ARRAY OR NUMBER

Parameters

Name Type Default Description
x array

Description

This function is inspired by AmiBroker function: www.amibroker.com/guide/afl/sign.html

Returns the sign of the number/array