GetYCoordinate: Unterschied zwischen den Versionen

Aus JACK Wiki
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „===Zugehörige Evaluatoren=== *'''MathEvaluator''' ===Beschreibung=== Die Funktion gibt die Y-Koordinate einer Coordinate zurück. ===Syntax=== getYCoordinate(coordinate(zahl1, zahl2)) ===Parameter=== *coordinate- Die Koordinate, welche auf Basis von Coordinate erstellt wird. ===Return Value=== Eine Zahl, welche den gleichen Typ der Y-Koordinate hat. ===Beispiele=== ==== Standardfälle ==== getYCoordinate(coordinate(15.3, 5)) -> 5 getYCoo…“)
 
Keine Bearbeitungszusammenfassung
 
Zeile 19: Zeile 19:


  getYCoordinate(coordinate(2 + 3, 4 * 5)) -> 20
  getYCoordinate(coordinate(2 + 3, 4 * 5)) -> 20
getYCoordinate(coordinate(sin(0), cos(0))) -> 1
getYCoordinate(coordinate(-10.1, -2.5)) -> -2.5
=== Hinweise ===
=== Hinweise ===
*Die Koordinate wird ab der 15. Nachkommastelle gerundet.
*Die Koordinate wird ab der 15. Nachkommastelle gerundet.

Aktuelle Version vom 11. November 2025, 13:21 Uhr

Zugehörige Evaluatoren

  • MathEvaluator

Beschreibung

Die Funktion gibt die Y-Koordinate einer Coordinate zurück.

Syntax

getYCoordinate(coordinate(zahl1, zahl2))

Parameter

  • coordinate- Die Koordinate, welche auf Basis von Coordinate erstellt wird.

Return Value

Eine Zahl, welche den gleichen Typ der Y-Koordinate hat.

Beispiele

Standardfälle

getYCoordinate(coordinate(15.3, 5)) -> 5
getYCoordinate(coordinate(2 + 3, 4 * 5)) -> 20
getYCoordinate(coordinate(sin(0), cos(0))) -> 1
getYCoordinate(coordinate(-10.1, -2.5)) -> -2.5

Hinweise

  • Die Koordinate wird ab der 15. Nachkommastelle gerundet.
  • Ähnliche Funktion: GetXCoordinate