2.0.27 • Published 5 years ago

@extra-number/from-roman v2.0.27

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

Converts roman numerals to number.

This is part of package extra-number.

number.fromRoman(txt);
// txt: roman numerals
const number = require('extra-number');

number.fromRoman('IX');
// 9

number.fromRoman('CMXXVIII');
// 928

number.fromRoman('- x c i x');
// -99

number.fromRoman('IIII');
// 4 (additive notation)

number.fromRoman('XXIIII');
// 24 (additive notation)
2.0.27

5 years ago

2.0.26

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.3.10

5 years ago

1.3.11

5 years ago

1.3.9

5 years ago

1.3.8

5 years ago

1.3.7

5 years ago

1.3.6

5 years ago

1.3.5

5 years ago

1.3.4

5 years ago

1.3.2

5 years ago

1.3.1

5 years ago

1.2.19

5 years ago

1.2.18

5 years ago

1.2.16

5 years ago

1.2.17

5 years ago

1.2.15

5 years ago

1.2.14

5 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago