```python
def compare_one(a, b):
    """
    Create a function that takes integers, floats, or strings representing
    real numbers, and returns the larger variable in its given variable type.
    Return None if the values are equal.
    Note: If a real number is represented as a string, the floating point might be . or ,

    compare_one(1, 2.5) ➞ 2.5
    compare_one(1, "2,3") ➞ "2,3"
    compare_one("5,1", "6") ➞ "6"
    compare_one("1", 1) ➞ None
    """
    def to_float(val):
        if isinstance(val, str):
            # Replace comma with dot for parsing
            val = val.replace(',', '.')
            return float(val)
        return float(val)
    
    fa = to_float(a)
    fb = to_float(b)
    
    if fa > fb:
        return a
    elif fb > fa:
        return b
    else:
        return None
```