VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Decimal To Roman Converter

C M Buckley  (1 Submission)   Miscellaneous   Visual Basic 5.0   Beginner   Wed 3rd February 2021

This code takes an input decimal number and converts it to roman numerals. Will work for any number inputted until the output string becomes too big (and testing seems to show this doesnt actuually happen)! This is the shortest piece of code to o this (to my knowledge), as all the others I've seen are useless....

Inputs
sDecNum - the decimal number you wish to convert.

Returns
ToRoman - the string returned from the function of the roman numeral.

Rate Decimal To Roman Converter (5(5 Vote))
Decimal To Roman Converter.bas

Decimal To Roman Converter Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters