Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
calc
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { Console.WriteLine(decimal.Round((decimal)145.98003, 2, MidpointRounding.AwayFromZero)); Console.WriteLine(decimal.Round((decimal)7.10703, 2, MidpointRounding.AwayFromZero)); Console.WriteLine(decimal.Round((decimal)40.845, 2, MidpointRounding.AwayFromZero)); Console.WriteLine(decimal.Round((decimal)16.338, 2, MidpointRounding.AwayFromZero)); Console.WriteLine(System.Convert.ToDecimal(0.087)); } } }
run
|
edit
|
history
|
help
-2
www
Plt-D v.0.9.6 (Speed Vector)
Padma narwade
Seizoen bepalen in C#
Few Programs that would help in interviews
VB6 DateSerial to C#
Lotto35Generator
vttrtbrbt
changeMe
JJ 2