UnaryPlus

Aus JACK Wiki
Zur Navigation springen Zur Suche springen

Beschreibung

Die Funktion UnaryPlus (+) lässt eine positive Zahl positiv und eine negative Zahl negativ.

Syntax

 +a

Parameter

  • a - double

Return Value

  • Gibt positive oder negative Zahl zurück

Beispiele

   +3    --> 3
   +(+2)    --> 2

Hinweise