Hacker News new | past | comments | ask | show | jobs | submit login

Perl will convert from base 26 to base 10 if you know how to ask:

  $ perl -E 'say lc (@a="a".."asdf")'
  30530



Base 26 or 36? Is 'a' 0 or 10? Does 's' overflow to the next column, like 09 in octal?




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: