:: String -> Int is:exact -package:hledger-lib -package:vty package:hxt

convert a string of hexadecimal digits into an Int
convert a string of digits into an Int