@staticmethod
def __to_num(string: str) ->int:
    """formats string numbers and converts them to an integer
        e.g '123,456' -> 123456
        
        Args:
            string (str): input string number
        
        Returns:
            int: output integer number
        """
    return int(string.strip().replace(',', ''))
