计算增值税助手方法 [英] Calculate VAT helper method

查看:86
本文介绍了计算增值税助手方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

正在网上寻找一种计算增值税的方法,但似乎找不到.

Was looking online for a method to calculate VAT, but can't seem to find it.

decimal subTotal = FinalInvoice.Hold_Back_Value;
decimal VAT = //calculate vat at 20% for subtotal using helper method
decimal TOTAL = subtotal + VAT;

推荐答案

简单的百分比计算.

public decimal CalculateVat(decimal value)
{
  return (value / 100) * 20;
}

这篇关于计算增值税助手方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆