{"name":"max","title":"max","type":"command","url":"https://community.bistudio.com/wiki/max","revid":321188,"updated":"2022-05-13T15:20:51Z","groups":["Math"],"status":"ok","games":{"arma1":"1.00","arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"arma1 1.00","arma3_since":"0.50","description":"The greater value of a and b.","syntaxes":[{"syntax":"a max b","params":[{"name":"a","type":"Number","type_expr":"Number"},{"name":"b","type":"Number","type_expr":"Number"}],"returns":{"type":"Number","type_expr":"Number"},"form":"binary","left":{"text":"a"},"right":{"text":"b"}}],"examples":[{"code":["3 max 2; // Result is 3"]},{"code":["-3 max -2; // Result is -2"]}],"see_also":["min","selectMin","selectMax","ceil","floor","linearConversion","Math Commands"]}