Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
8th Edition
ISBN: 9781337102124
Author: Diane Zak
Publisher: Cengage Learning
Expert Solution & Answer
Book Icon
Chapter 6, Problem 23RQ
Program Description Answer

The statement dblSales = Math.Round(dblSales,2) rounds the contents of the “dblSales” variable to two decimal places.

Hence, the correct answer is option “A”.

Blurred answer
Students have asked these similar questions
Prompt the user to enter their dinner bill and the percentage they want to tip. Calculate the tip and total bill. Display a column of values aligned by the decimal place. The rows should be diner cost, tip and total.
The Excel function =sin(A1) will calculate the sine of the value in cell A1. The value in cell A1 must be in degrees.   True?   False?
A formula with the cell reference B$2 is copied one cell to the right, what in the new cell reference
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:9781337102124
Author:Diane Zak
Publisher:Cengage Learning
Text book image
EBK JAVA PROGRAMMING
Computer Science
ISBN:9781337671385
Author:FARRELL
Publisher:CENGAGE LEARNING - CONSIGNMENT
Text book image
Microsoft Visual C#
Computer Science
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Cengage Learning,
Text book image
Oracle 12c: SQL
Computer Science
ISBN:9781305251038
Author:Joan Casteel
Publisher:Cengage Learning
Text book image
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:9780357392676
Author:FREUND, Steven
Publisher:CENGAGE L