Sgn Function

Assishshu wido sa'ino kiiro posetive, negetive, woy zeero ikkitinota leellishannota -1 nna 1 mereero noo intijerete kiiro qolanno.

Ganallo:


Sgn (Kiiro)

Qolote guma:

Integer

Eishshuwa:

Kiiro: Kiirama dandanno handaara ikke assishshu qolannogumaati.

Number

Qolote guma:

negaative

Sgn -1 qolanno.

0

Sgn 0 qolanno.

Posetive

Sgn 1 qolanno.


Error codes:

5 Horiweelo aante woshsho

Lawishsha:


Sub ExampleSgn
    attama sgn(-10) ' -1 qolanno
    Attama sgn(0) ' 0 qolanno
    Attama sgn(10) ' 1 qolanno
End Sub

Please support us!