Is there way to round number to decimal places using just simple math operations in one formula?

No converting to text allowed.
No considerations (like "if point is..then") allowed. No conversions like INT, FLOOR allowed.

Something like this: (2344.334*100)/100 ...

New contributor
Benny7500 is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

closed as off-topic by Ben McKay, Alexey Ustinov, Carlo Beenakker, Mike Shulman, Stefan Waldmann Dec 7 at 11:53

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "MathOverflow is for mathematicians to ask each other questions about their research. See Math.StackExchange to ask general questions in mathematics." – Ben McKay, Alexey Ustinov, Mike Shulman, Stefan Waldmann
If this question can be reworded to fit the rules in the help center, please edit the question.

  • Hi Benny, and welcome to MO. Other users may yet prove me wrong but I'd judge this question unlikely to be received well here. Its reception at is likely to be better but as it is, I'd say its unlikely to reach the (different) quality standard there without some improvements. – user334732 Dec 7 at 11:36
  • 1
    taking the integer part is not a continuous function, so you will not be able to reach that using continuous operations like multiplication, addition,... – Carlo Beenakker Dec 7 at 11:37
  • You can quickly round any number to $0$ decimal places with the continuous function $f(x)=0$ – user334732 Dec 7 at 11:40

Browse other questions tagged or ask your own question.