Answers for "is double and decimal compatible c#"

C#
11

c# double value with 2 decimal places

inputValue = Math.Round(inputValue, 2);
Posted by: Guest on March-06-2020
3

c# decimal vs double

Use decimal for manmade concepts like currency
Use double/float for naturally-occuring values like temperature
Posted by: Guest on September-08-2021

C# Answers by Framework

Browse Popular Code Answers by Language