lcm Convert to Number

<-- Enter Positive Number less than 4000 or a Roman Numeral with numeric value less than 4000

Convert LCM from a Roman numeral to a number:

We do this by assigning numeric values to each letter in LCM and taking an increasing total until we get our answer.
Letter Values are N=0, I=1, V=5, X=10, L=50, C=100, D=500, and M=1,000.

Letter 1 is L which has a numeric value of 50
Since the next letter C has a higher numeric value of 100, we assign a negative value to L
We subtract 50 from our Roman numeral sum of 0 to get: 0 - 50 = -50

Letter 2 is C which has a numeric value of 100
Since the next letter M has a higher numeric value of 1000, we assign a negative value to C
We subtract 100 from our Roman numeral sum of -50 to get: -50 - 100 = -150

Letter 3 is M which has a numeric value of 1000
Since the next letter has a lower numeric value of 0, we assign a positive value to M
We add 1000 to our Roman numeral sum of -150 to get: 1000 + -150 = 850

Therefore, the Roman numeral LCM has a numeric value of 850