# Controling for the number of decimal places

**URL:** https://cl.desmos.com/t/controling-for-the-number-of-decimal-places/735
**Category:** Questions
**Created:** [March 9, 2020, 12:22am UTC](https://cl.desmos.com/t/controling-for-the-number-of-decimal-places/735 "2020-03-09T00:22:20Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![Daniel\_Grubbs](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/daniel_grubbs/32/719_2.png) [@Daniel\_Grubbs](https://cl.desmos.com/u/Daniel_Grubbs)
#### Post date: [March 9, 2020, 9:28pm UTC](https://cl.desmos.com/t/controling-for-the-number-of-decimal-places/735/4 "2020-03-09T21:28:30Z")

</div>

Also, instead of this:

> [@Daniel\_Grubbs](#):
>
> c\_heck={a=round(b,1):1,2}

You can nest conditionals to include 0 decimal places  
c\_heck={a=round(b,0):0,{a=round(b,1):1,2}}

and add an additional when in the pointLabel conditions that adds “.00” to a

---

_[View the full topic](https://cl.desmos.com/t/controling-for-the-number-of-decimal-places/735)._
