repl.txt (493B)
1 2 {{alias}}( a, b ) 3 Computes the least common multiple (lcm). 4 5 If either `a` or `b` is `0`, the function returns `0`. 6 7 Both `a` and `b` must have integer values; otherwise, the function returns 8 `NaN`. 9 10 Parameters 11 ---------- 12 a: integer 13 First integer. 14 15 b: integer 16 Second integer. 17 18 Returns 19 ------- 20 out: integer 21 Least common multiple. 22 23 Examples 24 -------- 25 > var v = {{alias}}( 21, 6 ) 26 42 27 28 See Also 29 -------- 30