2.0.27 • Published 3 years ago

@extra-number/from-roman v2.0.27

Weekly downloads
-
License
MIT
Repository
github
Last release
3 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

3 years ago

2.0.26

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.3.10

4 years ago

1.3.11

4 years ago

1.3.9

4 years ago

1.3.8

4 years ago

1.3.7

4 years ago

1.3.6

4 years ago

1.3.5

4 years ago

1.3.4

4 years ago

1.3.2

4 years ago

1.3.1

4 years ago

1.2.19

4 years ago

1.2.18

4 years ago

1.2.16

4 years ago

1.2.17

4 years ago

1.2.15

4 years ago

1.2.14

4 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.1

6 years ago

1.0.0

6 years ago