ever wanted to be able to format numbers in Roman numerals/parse Roman numerals in GameMaker? probably not, but because i was already a disappointment to my ancestors and i see no reason to break the tradition, i made a thing that can do exactly that for you

from_roman_numeral(str) will parse a roman numeral (case insensitive):

from_roman_numeral("CccLxvi") -> 366

to_roman_numeral(number) will format a number as a roman numeral; the number must be positive and will ignore decimals

to_roman_numeral(1234) -> "MCCXXXIV"

values over 3000ish will just append Ms because you honestly shouldn't ever really need a number bigger than 3000ish for anything anyway (source: the romans, apparently)

string_roman_numerals_only(str) will return a string containing only valid roman numeral characters (case insensitive), sort of like string_digits() for number systems that suck

StatusReleased
CategoryTool
PlatformsHTML5
Rating
Rated 5.0 out of 5 stars
(1 total ratings)
AuthorDragonite
Made withGameMaker
Tagsroman-numerals

Download

Download NowName your own price

Click download now to get access to the following files:

roman.yymps 3 kB

Comments

Log in with itch.io to leave a comment.

I don't think i will ever need this, but the idea that  it exist is what counts XD .... or maybe someone should make a project revolving around using this tool.

Thanks for all the tools you make

(+1)

The useless ones are usually the ones that are the most fun to make