Ask Question
17 April, 05:34

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)

+3
Answers (1)
  1. 17 April, 08:47
    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?
Get 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 there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers