Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Karthi KeyanRank #1,926 · 762 reputationPosted Apr 3, 2017, 7:56 PM EDT
siva nathanRank #1,695 · 899 reputationPosted Apr 3, 2017, 8:02 PM EDT
Karthi KeyanRank #1,926 · 762 reputationPosted Apr 3, 2017, 8:12 PM EDT
Nitin SontakkeRank #264 · 9.6K reputationPosted Apr 3, 2017, 8:24 PM EDT
Javed Ali144 reputationPosted Apr 4, 2017, 12:51 AM EDT
Rafnas T PRank #280 · 8.8K reputationPosted Apr 4, 2017, 2:56 AM EDT
Javed Ali144 reputationPosted Apr 4, 2017, 3:14 AM EDT
var roundedA = Math.Round(1.1, 0); // Output: 1 var roundedB = Math.Round(1.5, 0, MidpointRounding.AwayFromZero); // Output: 2 var roundedC = Math.Round(1.9, 0); // Output: 2