AngouriMath
Lcm(AngouriMath.Entity,AngouriMath.Entity)
Method (no overloads)
Summary
The least common multiple of two numbers, lcm(a, b) : computed over integers
and rationals, non-negative,0 where either is 0 , and left as a node
otherwise. https://github.com/asc-community/AngouriMath/issues/1409
and rationals, non-negative,
otherwise. https://github.com/asc-community/AngouriMath/issues/1409
Example
Console.WriteLine(MathS.Lcm(4, 6).Evaled);
Console.WriteLine("lcm(2, 3, 4)".ToEntity().Evaled);Prints
12
12Angouri © 2019-2023 · Project's repo · Site's repo · Octicons · Transparency · 4378 pages online