Don't allow float to end with a dot