max
fun
max
(
a
:
Double
,
b
:
Double
)
:
Double
(Common source) (JVM source) (JS source) (Native source)
Returns the greater of two values.
If either value is
NaN
, then the result is
NaN
.