Which of the following rounds the contents of the dblSales variable to two decimal places?a. dblSales = Math.Round(dblSales, 2)b. dblSales = Math.Round(2, dblSales)c. dblSales = Round.Math(dblSales, 2)d. dblSales = Round.Math(2, dblSales)

Chapter 6, Review Questions #23

Which of the following rounds the contents of the dblSales variable to two decimal places?
a. dblSales = Math.Round(dblSales, 2)
b. dblSales = Math.Round(2, dblSales)
c. dblSales = Round.Math(dblSales, 2)
d. dblSales = Round.Math(2, dblSales)

This problem has been solved!


Do you need an answer to a question different from the above? Ask your question!
Related Book For answer-question

Programming with Microsoft Visual Basic 2017

8th edition

Authors: Diane Zak

ISBN: 978-1337102124