def rounded(self, number, roundto=None):
        """
        Rounds the inputed number to the nearest value.
        
        :param      number | <int> || <float>
        """
        if roundto is None:
            roundto = self.roundTo()
        
        if not roundto:
            return number
    
        remain = number % roundto
        if remain:
            return number + (roundto - remain)
        return number