🚀 Welcome to MDriven Learn –  MDriven is now on Discord!  Don’t miss the latest Release Notes.
OCLOperators Number::max ( r : Number ) : Number
This page was created by Peter on 2019-12-06. Last edited by Edgar on 2025-08-31.

Returns the greatest number between self and *r*.

Expression Result
6.max(3) 6
6.max(5.2) 6.0
(2.3).max(3) 3.0
(2.3).max(5.2) 5.2