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)
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)
Programming with Microsoft Visual Basic 2017
8th Edition
ISBN:9781337102124
Author:Diane Zak
Publisher:Diane Zak
Chapter5: The Repetition Structure
Section: Chapter Questions
Problem 12RQ
Related questions
Question
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)
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L