is Divided By - Java java.lang

Java examples for java.lang:float

Description

is Divided By

Demo Code


//package com.java2s;

public class Main {
    public static boolean isDividedBy(double dividend, double divisor) {
        return (dividend % divisor == 0);
    }/*from   w  w  w.  j a v a 2s  .co  m*/
}

Related Tutorials