Here you can find the source of minDivisibleNumber(float yourDividend, float divisor)
public static float minDivisibleNumber(float yourDividend, float divisor)
//package com.java2s; //License from project: Open Source License public class Main { public static float minDivisibleNumber(float yourDividend, float divisor) { return yourDividend - (yourDividend % divisor); }/* w w w .j a v a 2 s . c om*/ }