The convention here in Brilliant is that whenever a problem has a non-integer solution, but the asker wants an integer answer, the Floor value of the product of that non-integer solution and some power of 10 is asked for. For instance, instead of saying, "State the answer of 10000 * radius", the asker could say, "Find \( \left\lfloor 10000\cdot r \right\rfloor \)". Keep in mind that the integer value is not the rounded value of 10000 * radius, but simply the digits of the non-integer solution up to the first 5 decimal places. One thing wrong with asking for "the answer of 10000 * radius" is that it fails to specify whether it's rounded off or not. Using the Floor function eliminates this ambiguity.

Personally, I prefer to say, "Find Floor \( \left\lfloor 10000\cdot r \right\rfloor \)", as to leave no doubt or confusion about what kind of an answer I'm asking for.

The Floor function is also known as the Greatest Integer function, i.e., the largest integer equal to or less than the number.
–
Michael Mendrin
·
2 years, 6 months ago

Log in to reply

Floor of 1000 \(\times\) r
–
Krishna Sharma
·
2 years, 6 months ago

## Comments

Sort by:

TopNewestThe convention here in Brilliant is that whenever a problem has a non-integer solution, but the asker wants an integer answer, the Floor value of the product of that non-integer solution and some power of 10 is asked for. For instance, instead of saying, "State the answer of 10000 * radius", the asker could say, "Find \( \left\lfloor 10000\cdot r \right\rfloor \)". Keep in mind that the integer value is not the rounded value of 10000 * radius, but simply the digits of the non-integer solution up to the first 5 decimal places. One thing wrong with asking for "the answer of 10000 * radius" is that it fails to specify whether it's rounded off or not. Using the Floor function eliminates this ambiguity.

Personally, I prefer to say, "Find Floor \( \left\lfloor 10000\cdot r \right\rfloor \)", as to leave no doubt or confusion about what kind of an answer I'm asking for.

The Floor function is also known as the Greatest Integer function, i.e., the largest integer equal to or less than the number. – Michael Mendrin · 2 years, 6 months ago

Log in to reply

Floor of 1000 \(\times\) r – Krishna Sharma · 2 years, 6 months ago

Log in to reply