added float test, changed float handling