tmDigits function

Gets the attribute 'digits' from a 'TableMonster' class object