Question: VISUAL STUDIO IN VISUAL BASIC LANGUAGE *tryparse and varible NOT JAVA SCRIPT OR C LANGUAGE The code below is providing a random percentage.. for example
VISUAL STUDIO IN VISUAL BASIC LANGUAGE *tryparse and varible NOT JAVA SCRIPT OR C LANGUAGE The code below is providing a random percentage.. for example its generating 200.00% ..... i am looking for 2%
The random discount, which is anywhere between 0% to 15% of the vehicle price 'a random discount between 0 to 15%
dblDiscount = ranDis.Next(0, 16)
dblSubTotal = intVehiclePrice + dblAddOn - dblDiscount
dblSalesTax = dblSubTotal * dblTAX_RATE
dblFinalPrice = dblSubTotal + dblSalesTax + dblServiceFee
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
