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