3
Answers

trying to define even/odd numbers please help

atilla

atilla

19y
2.7k
1
i am trying to define a number "55.15 or something like that, i think this should be - double- am i right:)" wether even or not. i`m going to use that in a calculation and if it`s odd i`ll need to round it up to closest decimal value. if you please give me some suggestions i`ll be more than happy...
thanks...
Answers (3)
0
Raj Kumar

Raj Kumar

NA 36.4k 16.4m 12y
See it this article works for you.

http://www.c-sharpcorner.com/uploadfile/b4f4a4/birthday-reminder-in-C-Sharp/