The number 40170 (forty thousand one hundred seventy) is written in Roman numerals as follows: XLCLXX