Created
May 1, 2013 17:03
-
-
Save labster/5496619 to your computer and use it in GitHub Desktop.
ROMAN numeral
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ok 1 - 3 gets converted to III |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use v6; | |
use Lingua::Number; | |
my &to_roman = &roman-numeral; | |
use Test; | |
is to_roman(3), "III", "3 gets converted to III"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment