def _get_precision_type(network_el):
    """Given a network element from a VRP-REP instance, returns its precision type:
    floor, ceil, or decimals. If no such precision type is present, returns None.
    """

    if 'decimals' in network_el:
        return 'decimals'
    if 'floor' in network_el:
        return 'floor'
    if 'ceil' in network_el:
        return 'ceil'
    return None