The number 40265 (forty thousand two hundred sixty-five) is written in Roman numerals as follows: XLCCLXV