:: String -> Int -package:hledger-lib -package:speculate -package:safe -package:ghc package:locators is:exact

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