PHP: To Roman Numerals

Posted: , By Patcoola

Script: to_roman_num
Programming Language: PHP
Created Date: 2018-08-27

Purpose: Converts a number to Roman Numerals.

Description: Changes a positive integer to Roman Numerals up to 1999.

Method:

to_roman_num ( integer )

Example Usage:

ECHO to_roman_num ( 27 );

Returns XXVII


Tags: ,

Comments:Write Comment

There are currently no comments for this post.

Leave a Comment


XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>


All comments are reviewed before publishing. Comments must be related to the page topic, must not be spam and must comply with the criminal code of Canada.

Advertisement