Move amount formatting/parsing to its own file (merge).