As noted above, this try logic should be captured through `lib/utils.parse_float` or a similar function that you could add there and build on `lib/utils._parse_type`.