float product = 30.0; float tax= 10.3; float actualcost = product - (product * tax / 100); //actualcost contains the actual amount
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)