Java Divisor maxDivisibleNumber(float yourDividend, float divisor)

Here you can find the source of maxDivisibleNumber(float yourDividend, float divisor)

Description

max Divisible Number

License

Open Source License

Declaration

public static float maxDivisibleNumber(float yourDividend, float divisor) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static float maxDivisibleNumber(float yourDividend, float divisor) {
        return yourDividend + (divisor - (yourDividend % divisor));
    }/*ww  w  . j a va2s.  c  o m*/
}

Related

  1. maxCommonDivisor(int m, int n)
  2. maxCommonDivisor(int num1, int num2)
  3. maxCommonDivisorCore(int num1, int num2)
  4. maxLiteralLengthDivision(int n)