is_factor
/*
** Usage:
** is_factor(divisor,value)
**
** Arguments:
** divisor a divisor, real
** value a value, real
**
** Returns:
** TRUE if the given divisor is a factor of the given value,
** FALSE otherwise
**
** GMLscripts.com
*/
{
return !(argument1 mod argument0);
}
** Usage:
** is_factor(divisor,value)
**
** Arguments:
** divisor a divisor, real
** value a value, real
**
** Returns:
** TRUE if the given divisor is a factor of the given value,
** FALSE otherwise
**
** GMLscripts.com
*/
{
return !(argument1 mod argument0);
}
[Please Login]
Projects: 6
Contributor: Leif902
comments powered by Disqus

Related: