Which of the following statements formats the contents of the txtSalesTax control with a percent sign and two digits to the right of the decimal?

A. txtSalesTax.Text = Format(txtSalesTax, "Percent")
B. txtSalesTax.Text = Format(txtSalesTax, "Fixed")
C. txtSalesTax.Text = Format(txtSalesTax.Text, "Percent")
D. txtSalesTax.Text = Format("Percent", txtSalesTax.Text)

Answer: C

Computer Science & Information Technology

You might also like to view...

The SQL WHERE keyword specifies the:

A) criteria that records must match to be included in the results. B) table that will be searched. C) specific field to be included in the query. D) specific fields to include in the query.

Computer Science & Information Technology

The ________ of an asset is the value of the asset at the end of its useful life

A) depreciation B) principal C) death D) salvage value

Computer Science & Information Technology