Minimum is min(Number1, Number2)which should be preferred for portability.
In coroutining mode, if Number1 or Number2 are uninstantiated, the call to min/3 is delayed until these variables are instantiated.
Success:
min(5, 2, 2).
min(2_3, 3_4, 2_3).
min(5.0 , 2.0, 2.0).
min(5.0, 2, 2.0). (The types are adjusted)
min(5_0, 2, 2_0). (The types are adjusted)
Fail:
min(1, 2, 3).
min(1, 2, 2.0).
min(5, 2.0, 5).
min(5, 2, r).
Error:
min(A, 2, 6). (Error 4).
min(4 - 2, 3, 3). (Error 24).