extended FormatNumber to accept also strings