The number 40255 (forty thousand two hundred fifty-five) is written in Roman numerals as follows: XLCCLV