def _parse_number(value):

    try:
        return None if value == 'null' else float(value)
    except ValueError as error:
        logger.exception('Error parsing value as a JSON number')

        msg = 'Unable to parse {!r} as a float: {}'.format(value, error)
        raise DCOSException(msg)
Returns a floating IP as a dict.
dataset/ETHPy150Open dcos/dcos-cli/dcos/jsonitem.py/_parse_number--crossover with--dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/network/manager.py/FlatManager.get_floating_ip_by_address