Minor fix to formatAmount (for 0 amounts.)

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