你可以这样做:
int number = (int) totalAmountPlusTaxes;
要么
string totalAmountPlusTaxes = String.Format("{0:C0}",totalamountWithTaxes);