Question: Using the format specifier with the ToString procedure, write the statement that would display: a. The value in the decDvdCost variable with a dollar sign
Using the format specifier with the ToString procedure, write the statement that would display:
a. The value in the decDvdCost variable with a dollar sign and two places to the right of the decimal point in a label named lblDvd
b. The value in the decWithholdingTaxRate variable with a percent sign and one place to the right of the decimal point in a label named lbIWithholdingTaxRate
c. The value in the decOilRevenue variable with commas as needed, two places to the right of the decimal point, and no dollar sign in a label called lblOilRevenue
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
