Hi
using c#
double f = 1.5;
when useing Round( ) the result = 2
but
double f=3/2;
when using Round( ) the result =1;
whate difference Between the two cases
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 attend5days leftRegister
Amit GuptaRank #190 · 12.8K reputationPosted Nov 14, 2016, 11:09 AM EST