code: public static float round(Float number, int precision) {
          return (float)(Math.floor(number.doubleValue()*Math.pow(10,precision)+0.5)/Math.pow(10,precision));
      }
docs: Round the value
  
  @param number a Float
  @param precision the number of decimal places to keep
  @return the Float rounded to the number of decimal places specified by precision
  @since 1.6.0