value = Math.Truncate(100 * value) / 100;
Beware that fractions like these cannot be accurately represented in floating point.
value = Math.Truncate(100 * value) / 100;
Beware that fractions like these cannot be accurately represented in floating point.