Answers for "C# how to round float to 2 decimals"

C#
4

c# round to 2 decimal places

decimal b = 1.995555M;

Math.Round(b, 2); //returns 2.00
Posted by: Guest on October-29-2020

Code answers related to "C# how to round float to 2 decimals"

C# Answers by Framework

Browse Popular Code Answers by Language