:: String -> Int -package:hledger-lib -package:speculate -package:string-conversions -package:monads-tf -package:Agda package:locators -is:exact

Given a number encoded in Locator16, convert it back to an integer.