protected void func(DoubleColumnVector outV, DecimalColumnVector inV, int i) {
    outV.vector[i] = inV.vector[i].floatValue();
  }
Cast a decimal to float based on decimal to double function.
ql/src/java/org/apache/hadoop/hive/ql/exec/vector/expressions/CastDecimalToFloat.java