void main() {
    IO.println(Math.round(3.14159));
    IO.println(Math.round(3.14159 * 100) / 100.0);
    IO.println(Math.round((0.1 + 0.2) * 100) / 100.0);
}

// From Groundwork, chapter 3 (ch03-expressions-and-operators), box 6.
// This example is from Groundwork, licensed CC BY-NC-SA 4.0.
// Run with: java ch03_06.java
