You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The .v builtin to converts valid Roman Number letters (e.g. I or VC) to integers, but only works on uppercase letters.
I can understand that the reverse builtin .X always converts to uppercase, but just like the builtins for Hexadecimal conversion H and h , I would expect .v/H to work on both upper- and lowercase characters; and .X/h only convert to uppercase.
The
.v
builtin to converts valid Roman Number letters (e.g.I
orVC
) to integers, but only works on uppercase letters.I can understand that the reverse builtin
.X
always converts to uppercase, but just like the builtins for Hexadecimal conversionH
andh
, I would expect.v
/H
to work on both upper- and lowercase characters; and.X
/h
only convert to uppercase.Try it online to reproduce.
Came across it in this codegolf answer of mine.
The text was updated successfully, but these errors were encountered: