mirror of
https://github.com/rwinkhart/convertroman.git
synced 2026-09-05 08:27:21 -04:00
Correct capital example in README
This commit is contained in:
@@ -47,7 +47,7 @@ func main() {
|
|||||||
|
|
||||||
// capital (slightly slower)
|
// capital (slightly slower)
|
||||||
// this example uses a number in vinculum notation to show that ANSI escape codes are used to provide the overline
|
// this example uses a number in vinculum notation to show that ANSI escape codes are used to provide the overline
|
||||||
roman = rom.FromIntCapital(4)
|
roman = rom.FromIntCapital(4065)
|
||||||
if roman == "OOB" {
|
if roman == "OOB" {
|
||||||
panic("Input integer is out of bounds (greater than 3,999,999)")
|
panic("Input integer is out of bounds (greater than 3,999,999)")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user