[back] [prev] [next] [index] [root]

 


IntLcm

Returns the least positve common multiplier of two integers and zero if one of both is zero.

Syntax:

c := IntLcm(a, b);

integer
  c  
integer
  a  
integer
  b  

See also:  IntGcd, IntGcdEx

Description:

no detailed description available yet


Example:


kash> IntLcm(345, 6540);
150420
kash> IntLcm(-345, 6540);
150420
kash> IntLcm(-345, -6540);
150420
kash> IntLcm(345, -6540);
150420
kash> IntLcm(0, 1);
0
kash> IntLcm(1, 0);
0
kash> IntLcm(0, 0);
> 0


<- back[back] [prev] [next] [index] [root]