Question whether given number is divisible by another number

number:is_divisible_by?($num1, $num2) : BOOL

number:is_divisible_by?(10, 2)
#=> TRUE

number:is_divisible_by?(10, 6)
#=> FALSE

number:is_divisible_by?(10.4, 5.2)
#=> TRUE

number:is_divisible_by?(4, 0)
#=> FALSE

Copyright ©2013-2022 SunSed®. All rights reserved.