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 -

javascript - addthis share facebook and google+ url -

ios - Show keyboard with UITextField in the input accessory view -