FMCW (Frequency-Modulated Continuous Wave) interferometer can achieve high-precision displacement measurement by phase discrimination of the interference signal. The phase needs to be superimposed continuously, so the optical path cannot be interrupted in the measurement process. To solve this problem, a new absolute ranging technology - decimal comparison method is proposed in the manuscript. According to the principle of FMCW interference, two DFB lasers with different central wavelengths are used to measure the same target. The sampled interference signal is processed by digital signal processing to calculate the integer and decimal of the synthetic wavelength period. The optical path difference of the target is calculated by the established mathematical model. The experimental results show that this method not only ensures the measurement accuracy, but also realizes the absolute measurement, and expands the application range of FMCW interferometry.