Have you tried this? I think it will accept values like `2.0` as they are still finite...