GetXCoordinate
Zur Navigation springen
Zur Suche springen
Zugehörige Evaluatoren
- MathEvaluator
Beschreibung
Die Funktion gibt die X-Koordinate einer Coordinate zurück.
Syntax
getXCoordinate(coordinate(zahl1, zahl2))
Parameter
- coordinate- Die Koordinate, welche auf Basis von Coordinate erstellt wird.
Return Value
Eine Zahl, welche den gleichen Typ der X-Koordinate hat.
Beispiele
Standardfälle
getXCoordinate(coordinate(15.3, 5)) -> 15.3
getXCoordinate(coordinate(2 + 3, 4 * 5)) -> 5
getXCoordinate(coordinate(sin(0), cos(0))) -> 0
getXCoordinate(coordinate(-10.1, -2.5)) -> -10.1
Hinweise
- Die Koordinate wird ab der 15. Nachkommastelle gerundet.
- Ähnliche Funktion: GetYCoordinate