Ask Question
Yesterday, 08:41

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)

+2
Answers (1)
  1. Yesterday, 12:05
    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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers