# Lowest term as answer in table

**URL:** <https://cl.desmos.com/t/lowest-term-as-answer-in-table/2959>\
**Category:** Questions\
**Tags:** validation, correctness\
**Created:** [March 20, 2021, 3:27pm UTC](https://cl.desmos.com/t/lowest-term-as-answer-in-table/2959 "2021-03-20T15:27:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![VR1245](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/vr1245/32/2448_2.png) [@VR1245](https://cl.desmos.com/u/VR1245)\
**Post date:** [March 20, 2021, 3:27pm UTC](https://cl.desmos.com/t/lowest-term-as-answer-in-table/2959/1 "2021-03-20T15:27:07Z")

</div>

My code is  
`cellContent(1,3): when table1.cellNumericValue(1,2)\> 0.47826086 and table1.cellNumericValue(1,2)\< 0.47826088 “✅” OTHERWISE “❌”  
cellContent(2,3): when table1.cellNumericValue(2,2)= 1 “✅” OTHERWISE “❌”  
cellContent(3,3): when table1.cellNumericValue(3,2)= 0.8 “✅” OTHERWISE “❌”  
cellContent(4,3): when table1.cellNumericValue(4,2)= 1.12500 “✅” OTHERWISE “❌”

isCorrect= table1.cellNumericValue(1,2)\> 0.47826085 and table1.cellNumericValue(1,2)\< 0.47826087 and table1.cellNumericValue(2,2)= 3.875 and table1.cellNumericValue(3,2)= 0.8 and table1.cellNumericValue(4,2)= 1.12500

correct: isCorrect`

Is there a way that It only makes it correct if it is in the lowest terms

---

<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 20, 2021, 4:40pm UTC](https://cl.desmos.com/t/lowest-term-as-answer-in-table/2959/2 "2021-03-20T16:40:19Z")

</div>

Do you mean like a reduced fraction? You can include countNumberUsage. Here’s another [thread](https://cl.desmos.com/t/check-fraction-only-in-math-input/1584). There are certainly more if that’s not clear.

---

<div class="post-metadata">

**Author:** ![VR1245](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/vr1245/32/2448_2.png) [@VR1245](https://cl.desmos.com/u/VR1245)\
**Post date:** [March 20, 2021, 6:06pm UTC](https://cl.desmos.com/t/lowest-term-as-answer-in-table/2959/4 "2021-03-20T18:06:04Z")

</div>

Thank you that worked
