mirror of
https://github.com/rwinkhart/convertroman.git
synced 2026-09-03 15:47:16 -04:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
be443b8b0f |
@@ -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