Ask Question

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)

+4
Answers (1)
  1. 10 August, 03:23
    0
    None of the above is the correct answer.

    Explanation:

    In c #, there are different formats for formatting object values (in our case txtSalesTax) using the Format () method.

    The complete syntax is as follows:

    Format (string, object, object)

    Where

    string = txtSalesTax

    Object = Percent

    Object = n2
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Which of the following statements formats the contents of the txtSalesTax control with a percent sign and two digits to the right of the ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers