Skip to content

Commit 40a975f

Browse files
authored
Updated README to include new int to roman function (#355)
1 parent f2ca903 commit 40a975f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ Read our [Contribution Guidelines](CONTRIBUTING.md) before you contribute.
2222
* [Xor](./cipher/xor/xor.go)
2323

2424
### Conversions
25-
* [Roman To Integer](./conversion/romantointeger.go)
25+
* [Roman Numeral To Integer](./conversion/romantointeger.go)
26+
* [Integer To Roman Numeral](./conversion/integertoroman.go)
2627

2728
### Data Structures
2829
* [AVL Tree](./structure/avl/avl.go)

conversion/romantointeger.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ func RomanToInteger(input string) (int, error) {
4949
}
5050
}
5151
// if we are still left with input string values then the
52-
// input was invalid and the bool is returned as false
52+
// input was invalid and an error is returned.
5353
if len(input) > 0 {
5454
return 0, errors.New("invalid roman numeral")
5555
}

0 commit comments

Comments
 (0)