Game mechanicsNewbie guideIn developmentDDO StoreSocial Media


ChallengesClassesCollectablesCraftingEnhancementsEpic DestiniesFavor

FeatsGlossaryItemsMapsMonstersPlacesQuestsRacesSkillsSpells


Please create an account or log in to build a reputation and unlock more editing privileges, and then visit DDO wiki's IRC Chat/Discord if you need any help!

Template:Dec2Roman

From DDO wiki
Jump to: navigation, search

DESCRIPTION

Allows for conversion of decimal numbers to roman numerals
Will work for all numbers from 0 - 3,999. Punctuation insensitive.


EXAMPLES

  • {{Dec2Roman|0}} gives you N
  • {{Dec2Roman|1}} gives you I
  • {{Dec2Roman|4}} gives you IV
  • {{Dec2Roman|5}} gives you V
  • {{Dec2Roman|10}} gives you X
  • {{Dec2Roman|50}} gives you L
  • {{Dec2Roman|100}} gives you C
  • {{Dec2Roman|1000}} gives you M
  • {{Dec2Roman|3999}} gives you MMMCMXCIX
  • {{Dec2Roman|3,999}} gives you MMMCMXCIX
  • {{Dec2Roman|7500}} gives you Invalid Number7500 is not a valid number
  • {{Dec2Roman|10,000}} gives you Invalid Number10,000 is not a valid number
  • {{Dec2Roman|25,000}} gives you Invalid Number25,000 is not a valid number
  • {{Dec2Roman|I}} gives you I
  • {{Dec2Roman|V}} gives you V
  • {{Dec2Roman|X}} gives you X
  • {{Dec2Roman|L}} gives you L
  • {{Dec2Roman|C}} gives you C
  • {{Dec2Roman|M}} gives you M

CATEGORIZATION

  • None


CODING