Year of the Dragon: Through May 28th, claim free Expansion Pack (excluding Vecna Unleashed) or a Greater Elixir of Discovery! Speak to Xatheral in the Hall of Heroes.
(Please note: Due to bugs with the distribution system, this reward is temporarily unavailable.)edit

Game mechanicsNewbie guideIn developmentDDO StoreSocial Media


ChallengesClassesCollectablesCraftingEnhancementsEpic DestiniesFavorFeats

GlossaryItemsMapsMonstersPlacesQuestsRacesReincarnationSkillsSpells


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 Jump to 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