# round ( ) — Scratch Block Guide > Rounds a decimal number to the nearest whole integer. How to use the "round ( )" block in Scratch 3.0 (Operators Blocks): clear explanation, working block example, and debugging tips. ## What this block does Rounds a decimal number to the nearest whole integer. Display clean whole seconds from "timer" or snap sprites to grid cells. - Category: Operators Blocks - Key tip: For always rounding down or up, use "floor" or "ceiling" inside the math-function block. ## Working Scratch example Try building this small script in the Scratch editor, predict what will happen, then click the green flag to test it. **Example using round ( )** - When green flag clicked - Forever - Set (seconds) to (round (timer)) Try it: Shows neat whole numbers instead of 4.38291 seconds. ## Related block guides Explore other blocks in the same category or return to the full English Block Dictionary. - [Back to Operators Blocks](/en/dictionary/operators/): See the overview and patterns for Operators Blocks. - [Scratch Block Dictionary (All Categories)](/en/dictionary/): Browse Motion, Looks, Sound, Events, Control, Sensing, Operators, Variables, and Extensions. Updated: 2026-11-23 Author: [Takamasa Suzuki](https://scratch.gmnavi.jp/about/author/) Japanese Edition: https://scratch.gmnavi.jp/dictionary/operators/round/ [Scratch Daizen (English)](https://scratch.gmnavi.jp/en/)