# Display random decimal numbers to the nearest value when last digit is 0

**URL:** https://cl.desmos.com/t/display-random-decimal-numbers-to-the-nearest-value-when-last-digit-is-0/4559
**Category:** Questions
**Created:** [November 13, 2022, 10:15pm UTC](https://cl.desmos.com/t/display-random-decimal-numbers-to-the-nearest-value-when-last-digit-is-0/4559 "2022-11-13T22:15:12Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![ARobo](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/arobo/32/3567_2.png) [@ARobo](https://cl.desmos.com/u/ARobo)
#### Post date: [November 13, 2022, 10:15pm UTC](https://cl.desmos.com/t/display-random-decimal-numbers-to-the-nearest-value-when-last-digit-is-0/4559/1 "2022-11-13T22:15:12Z")

</div>

I am using the random number generator and float commands to generate random numbers to the hundredths place, but when it should display as 4.10, for instance, it just displays 4.1.

How do I force it to display the 0? Thanks.
