Roman numerals are usually written largest to smallest from left to right. However, the numeral for four is not IIII. Instead, the number four is written as IV. Because the one is before the five we subtract it making four. The same principle applies to the number nine, which is written as IX. There are six instances where subtraction is used:
Fixes # (issue)
Test Configuration: (If any)
Firmware version:
Hardware:
Toolchain:
SDK:
Checklist:
[x] My code follows the style guidelines of this project
[x] I have made corresponding changes to the documentation
[x] I have added tests that prove my fix is effective or that my feature works
[x] Any dependent changes have been merged and published in downstream modules
name: PR Template about: Pull Request Template title: 'ROMAN_TO_DECIMAL' labels: hacktoberfest assignees: ''
Description
Roman numerals are usually written largest to smallest from left to right. However, the numeral for four is not IIII. Instead, the number four is written as IV. Because the one is before the five we subtract it making four. The same principle applies to the number nine, which is written as IX. There are six instances where subtraction is used:
Fixes # (issue)
Test Configuration: (If any)
Checklist: