f$Max
Berechnung des Maximums zweier Zahlen
Syntax: | Wert = f$Max( Zahl1, Zahl2 ) | ||
| Argument | Typ | Bedeutung |
| Zahl1 | Dezimal | erste Zahl (oder Ausdruck) |
| Zahl2 | Dezimal | zweite Zahl (oder Ausdruck) |
Ergebnis: | Dezimal | berechnetes Maximum | |
Beispiel: | Maximum = f$Max( 3.5, 1 ) → Maximum = 3.5 Maximum = f$Max ( -2, 0 ) → Maximum = 0 | ||
Diese Funktion ist aufgrund der automatischen Typkonvertierung auch ebenso für Ganzzahl-Parameter anwendbar.