c# - Round to the nearest whole number -


i have number this: 1.79769313486232e+308 , want round nearest whole number. tried below one:

math.round(1.79769313486232e+308, 0) 

but still give same result.

can 1 me.?

since have fewer 309 digits after dot number whole number. scientific notation must confusing you, example 1.234e+003 integer because it's equal 1234.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -