Я видел код: < /p>
Код: Выделить всё
function intToRomanNumeral(int $value) {
static $nf = new \NumberFormatter('@numbers=roman', \NumberFormatter::DECIMAL);
return $nf->format($value);
}
Подробнее здесь: https://stackoverflow.com/questions/795 ... ic-numbers
Мобильная версия