Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Help With Math Problems?

TopTime = 25
i = 1
print (math.floor((TopTime/i+9)))

Output 34?

2 comments

0

Works for me

0

Got it, The i+9 had to be in parenthesis

1 answer

You have not posted a problem. You posted a script that runs and you even posted what it does. You have in no way indicated your intention for what you think the program you wrote is supposed to do or what you want it to do, you only posted a program, labeled it as a math problem and provided the answer. The answer is correct.

You are dividing by one. That is strange. Perhaps you meant to add 9 to that, in which case i+9 should be in parentheses, as per the order of operations.

This discussion is preserved as it was. New answers, comments, and votes are closed.