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
dairkoos
Main3
oooo
іфи
SIN_in_Pow
Sin_in_degree_with_circle
MegaWays3
Lambdas
Fórum Mimicking Array Names Being Defined at Runtime
GetMyAppintmentData