:: String -> Int -package:hledger-lib -package:speculate -package:numeric-prelude -package:express package:hxt -is:exact is:exact

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