# Scientific notation rounding to check answer

**URL:** https://cl.desmos.com/t/scientific-notation-rounding-to-check-answer/7719
**Category:** Questions
**Created:** [February 2, 2025, 3:39pm UTC](https://cl.desmos.com/t/scientific-notation-rounding-to-check-answer/7719 "2025-02-02T15:39:37Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Terry\_Silveus](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/terry_silveus/32/6494_2.png) [@Terry\_Silveus](https://cl.desmos.com/u/Terry_Silveus)
#### Post date: [February 2, 2025, 3:39pm UTC](https://cl.desmos.com/t/scientific-notation-rounding-to-check-answer/7719/1 "2025-02-02T15:39:37Z")

</div>

> **["Infinite" Practice Claim 1 Target B • Activity Builder by Desmos Classroom](https://teacher.desmos.com/activitybuilder/custom/67982633f5c0f4c600ed91e6)**
>
> ISAT Claim 1 Priority Standard Target B

Slide 10 when the question ends up to be a repeating decimal answer how can I verify that student has input the correct decimal answer. For example the problem is (1 \* 10^7) / (3 \* 10^2) the answer is 3.3 \* 10^4 it doesn’t seem to be liking the input. Is there a way to put the bar over the 3 in the decimal portion from the math response box OR is there a way to make sure the answer I check against has been rounded to some place value and instruct students to round their answer to that place value as well? I tried round(_input_, 2) but round is apparently not a function in cl.

---

<div class="post-metadata">

### Author: ![Scott\_Walker](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/scott_walker/32/3100_2.png) [@Scott\_Walker](https://cl.desmos.com/u/Scott_Walker)
#### Post date: [February 4, 2025, 1:34am UTC](https://cl.desmos.com/t/scientific-notation-rounding-to-check-answer/7719/2 "2025-02-04T01:34:41Z")

</div>

I think you had one potential workaround, which is to direct students to round the result they get when dividing the two original coefficients. The use of the rounding CL syntax could look something like `preAnswerCoefficient = numericValue("\operatorname{round}\left(${n.script.c1} / ${n.script.c2},2\right)")`. I used that on line 12 of the mr6 component on screen 10 and I believe it should help you get students to input an answer that will be recognized as correct.

> **[\[Copy of\] "Infinite" Practice Claim 1 Target B (Integer Exponents, Scientific...](https://teacher.desmos.com/activitybuilder/custom/67a166a05668da28fab2e153)**
>
> ISAT Claim 1 Priority Standard Target B (Calculators are not allowed on Target B questions)
> Work with radicals and integer exponents.

---

<div class="post-metadata">

### Author: ![Terry\_Silveus](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/terry_silveus/32/6494_2.png) [@Terry\_Silveus](https://cl.desmos.com/u/Terry_Silveus)
#### Post date: [February 5, 2025, 1:13pm UTC](https://cl.desmos.com/t/scientific-notation-rounding-to-check-answer/7719/3 "2025-02-05T13:13:39Z")

</div>

Thanks. That did exactly what I was looking for. I wish the documentation had a little more information. I searched for “round” and it produced no results. How do you find out which functions, like \operatorname{round}, exist? Where does that come from?

---

<div class="post-metadata">

### Author: ![Scott\_Walker](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/scott_walker/32/3100_2.png) [@Scott\_Walker](https://cl.desmos.com/u/Scott_Walker)
#### Post date: [February 5, 2025, 3:34pm UTC](https://cl.desmos.com/t/scientific-notation-rounding-to-check-answer/7719/4 "2025-02-05T15:34:33Z")

</div>

I’ll often type what I want into the expression line of the graphical calculator or math input, copy that input, and then paste it into the CL and it will show you the general syntax for that expression, operator, etc.

---

<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: [February 5, 2025, 5:13pm UTC](https://cl.desmos.com/t/scientific-notation-rounding-to-check-answer/7719/5 "2025-02-05T17:13:10Z")

</div>

All of the operators you can use in the calculator can be used in CL, but not as CL type functions. They have to be included within `numericValue(``)` or `simpleFunction(``)`. Generally, they’ll either use the operatorName syntax @Scott_Walker used, or just a backslash preceding. I’d also recommend using the fraction notation or parentheses instead of a simple slash since the latex pastes in as-is.

```auto
preAnswerCoefficient = numericValue("\round(\frac{${n.script.c1} }{ ${n.script.c2}},2)")

```

---

<div class="post-metadata">

### Author: ![Terry\_Silveus](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/terry_silveus/32/6494_2.png) [@Terry\_Silveus](https://cl.desmos.com/u/Terry_Silveus)
#### Post date: [February 5, 2025, 6:00pm UTC](https://cl.desmos.com/t/scientific-notation-rounding-to-check-answer/7719/6 "2025-02-05T18:00:30Z")

</div>

Thanks to you both. This is very helpful.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex031/uploads/desmos/original/2X/f/f5bd144684474e9a2f333002cde9840e52c5dbd3.png) [@system](https://cl.desmos.com/u/system)
#### Post date: [February 7, 2025, 6:00pm UTC](https://cl.desmos.com/t/scientific-notation-rounding-to-check-answer/7719/7 "2025-02-07T18:00:30Z")

</div>

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
