Roman Numeral Conversion API 0.0.4 (Default branch)


 
Thread Tools Search this Thread
Special Forums News, Links, Events and Announcements Software Releases - RSS News Roman Numeral Conversion API 0.0.4 (Default branch)
# 1  
Old 02-02-2008
Roman Numeral Conversion API 0.0.4 (Default branch)

ImageRoman Numeral Conversion API performs Romannumeral conversions and formats date data usingRoman numerals and Latin. The romandate command issimilar to the standard Unix date command. Theromannum command provides command line conversionto and from Roman numerals. Libroman contains the functions roman_ctime(), roman_asctime(), and roman_strftime(). These functions provide the same functionality as ctime(), asctime(), and strftime() using Roman numerals to generate the strings.License: GNU General Public License v2Changes:
The long2roman() and roman2long() were re-named to int2roman() and roman2int(), which more closely match the actual data types used by these functions. The old function names will still work. roman2int() is more strict about the Roman numeral syntax. Invalid numerals such as VX, VV, IIIII, IC, and IXI now produce an error. Romannum now auto-detects the type of conversion to perform instead of depending on a command line switch.Image

More...
Login or Register to Ask a Question

Previous Thread | Next Thread

1 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Numeral conversion in awk

I am running into conversion of string to numbers in awk that I can't understand and don't know how to deal with properly My script checks for numeric only field, I use this approach to do that: $1 + 0 == $1 It works most of the time, but in some cases it does not behave how I expect it to... (5 Replies)
Discussion started by: migurus
5 Replies
Login or Register to Ask a Question