Fiddle Freak Fiddle Freak - 1 year ago 105
Java Question

Print char of roman numeral for 10000

I've searched and cannot seem to find the unicode number relating to roman numerals for Java's unicode char.

Is there anyway to

the following roman numerals?

enter image description here

Answer Source

You can use the unicode "\u0305" which is the combining overline. So for 5000, you can do System.out.println("V\u0305"). For 10000, System.out.println("X\u0305"), etc.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download