Math plugin fix for float precision