Added FormatAmount and StringToAmount.

Signed-off-by: FellowTraveler <F3llowTraveler@gmail.com>