Convert input amount into a string representation.