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
Post a Comment