# Having multiple correct answers

**URL:** <https://cl.desmos.com/t/having-multiple-correct-answers/2214>\
**Category:** Questions\
**Tags:** validation, correctness\
**Created:** [December 16, 2020, 4:20am UTC](https://cl.desmos.com/t/having-multiple-correct-answers/2214 "2020-12-16T04:20:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Elyse.Carmack](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/elyse.carmack/32/2560_2.png) [@Elyse.Carmack](https://cl.desmos.com/u/Elyse.Carmack)\
**Post date:** [December 16, 2020, 4:20am UTC](https://cl.desmos.com/t/having-multiple-correct-answers/2214/1 "2020-12-16T04:20:58Z")

</div>

I am trying to code a table to give me the check on the summary when students write 2.5 or 5/2

I wrote  
correct:this.cellContent(1,1)=“2.5” or “\{5}.{2}”

But the or is the problem

This is my whole code right now

correct:this.cellContent(1,1)=“2.5” or “\{5}.{2}”  
initialCellContent(1,1): “0”  
cellEditable(1,1):when not(graph41.number(“P\_{resscount}”)=1) TRUE otherwise FALSE

---

<div class="post-metadata">

**Author:** ![JayChow](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/jaychow/32/1674_2.png) [@JayChow](https://cl.desmos.com/u/JayChow)\
**Post date:** [December 16, 2020, 4:26pm UTC](https://cl.desmos.com/t/having-multiple-correct-answers/2214/2 "2020-12-16T16:26:42Z")

</div>

Hey Elyse!

Ditching the string check and using cellNumericValue instead will allow you to accept correct answers in any form

`correct: this.cellNumericValue = 2.5` will give you a check mark for any mathematical input that evalulates to 2.5
