Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
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
No fear Shakespeare - sonnet of the day
RSA Encyption example with large numbers using System.Numerics.BigInteger
CAI Visual Basic - Libreria Funciones
LinkedList
CAI Visual Basic - Ej Citas
CAI Visual Basic - Ej Recetas
If Function returns not Nothing for DateTime
String
loop 1
select case