Why (float) 1.11111111 = 1.11111116 in C #
Since float is NOT the exact meaning: Wikipedia explains this to a large extent. Also make sure you watch Jon Skeet videos from around 6:00 AM to 10:00 AM. In short: use floats / doubles for continuous decimals / integers , etc. for discrete values.
7- ; , , .
:
Epsilon , float, . , .
Epsilon
, double 15-16 . , , 10 (, ), decimal.
double
decimal