I am wanting to code my note to where students can add two separate decimals, and I want them to be able to answer a series of these in one desmos slide. I know the code:
r =randomGenerator()
a = r.float(0,100)
b = r.float(0,100)
However, I want the decimals to be between one to three decimal places.
I’m trying to do something similar - generate small random numbers for students to write in scientific notation. I thought the rounding might eliminate some of the digits, but it’s not working. Here’s the code I’m using:
r = randomGenerator(button.pressCount)
a = r.float(0,0.1) rounded_value=numericValue("\\round(${a},5)") content: "${a}"