Run Code
|
Code Wall
|
Users
|
Misc
|
Feedback
|
About
|
Login
|
Theme
|
Privacy
Rounding behaviours
'Rextester.Program.Main is the entry point for your code. Don't change it. 'Compiler version 11.0.50709.17929 for Microsoft (R) .NET Framework 4.5 Imports System Imports System.Collections.Generic Imports System.Linq Imports System.Text.RegularExpressions Namespace Rextester Public Module Program Public Sub Main(args() As string) Round(10.5) Round(11.5) End Sub Private Sub Round(d as Double) Console.WriteLine("Round '" & d & "':") Console.WriteLine(Math.Round(d)) Console.WriteLine(Math.Round(d, MidpointRounding.AwayFromZero)) End Sub End Module End Namespace
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
VBA
exercicio A
wunder
VB.NET: Functions aren't required to return a value
jjj
Expand Treeview Job Entry Epicor - VB
valor maximo entre 3 numeros
loop 1
CAI Visual Basic - Ej Citas
DateTime.ParseExact
Please log in to post a comment.