@staticmethod
def round(val, digit: int=0):
    """Round specified digit of the val.

        Parameters
        ----------
        val : int
            An int value.
        digit : int, default 0
            The digit to be rounded at.

        Returns
        -------
        float
            Rounded value.

        """
    p = 10 ** digit
    return (val * p * 2 + 1) // 2 / p
