ROUNDING NUMBERS  CAN YOU HANDLE IT?
Rounding NumbersModule Module1   Sub Main()       Dim number As Double       number = 10.6       Console.WriteLine(Math.Ro...
Rounding ProgramModule Module1    Sub Main()        Dim number As Double        number = 10.6        Console.WriteLine(“EN...
Upcoming SlideShare
Loading in …5
×

Rounding numbers

220 views
179 views

Published on

Published in: Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
220
On SlideShare
0
From Embeds
0
Number of Embeds
29
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Rounding numbers

  1. 1. ROUNDING NUMBERS CAN YOU HANDLE IT?
  2. 2. Rounding NumbersModule Module1 Sub Main() Dim number As Double number = 10.6 Console.WriteLine(Math.Round(number)) Console.ReadLine() End SubEnd Module
  3. 3. Rounding ProgramModule Module1 Sub Main() Dim number As Double number = 10.6 Console.WriteLine(“ENTER THE NUMBER YOU WANT TO ROUND ") number = Console.ReadLine() Console.WriteLine(Math.Round(number)) Console.WriteLine(“YOUR NUMBER ROUNDED IS " & number ) Console.ReadLine() End SubEnd Module

×