import math


def _att(from_x, from_y, to_x, to_y):
    """Calculates a special pseudo-euclidian distance between 2 points in 2D space.

    Parameters
    ----------
    from_x : int or float
        The x coordinate of the 1st point.
    from_y : int or float
        The y coordinate of the 1st point.
    to_x : int or float
        The x coordinate of the 2nd point.
    to_y : int or float
        The y coordinate of the 2nd point.

    Returns
    -------
    int
        The distance between the 2 points.


    """

    xd = to_x - from_x
    yd = to_y - from_y
    rij = math.sqrt((xd * xd + yd * yd) / 10.0)
    tij = int(round(rij))

    if tij < rij:
        tij += 1

    return tij