myDATATools.calcNetVatRound Method
Use this function when you want to populate the exact net value and VAT amount, so the gross value is intact.
This is useful when have a gross value and you need to calculate the net valu and value.
Public Function calcNetVatRound( _
ByVal grossValue As Double, _
ByVal vatPercent As Double _
) As Dictionary(Of String, Object)
This language is not supported or no code example is available.
Parameters
- grossValue
- double
The gross value.
- vatPercent
- double
The vat percent.
Return Value
Dictionary<string, object>myDATATools mdt = new myDATATools("Arbitrans User", "Arbitrans Key"); double result = mdt.calcMyDataGrossValue(10.0d, 24.0d); // returns a dictionary as following: // {netValue, 8.06} // {vatAmount, 1.94} // {grossValue, 10}
This language is not supported or no code example is available.