Complements are classified into two types based on each base r system:
If N is a positive number with base r and having n integer digits, the r’s complement of N is defined as
r’s complement = rn – N
where r = radix(base) of the number system
n= number of integer digits.
N= given positive number.
Also, r’s complement = (r-1)’s complement + 1
Example: Find 10’s complement of (645.783)10
Solution: The given number, N= 645.783 and here n = 3
so, 10’s complement = 103 – 645.783 = 354.217