Solved

Which of the Following Statements Formats the Contents of the DblPay

Question 42

Multiple Choice

Which of the following statements formats the contents of the dblPay variable with a dollar sign and no decimal places?


A) lblPay.Text = dblPay.ToString("C2")
B) lblPay.Text = dblPay.ToString(C0)
C) lblPay.Text = dblPay.ToCurrency("C0")
D) lblPay.Text = dblPay.ToString("C0")

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions