M
M
Maxim Timofeev2018-07-20 13:00:22
Mathematics
Maxim Timofeev, 2018-07-20 13:00:22

How to indicate rounding in the string representation of a formula?

Let's say I have a formula
c = a + b
, while a is the result of rounding x / y to hundredths,
I need to write this down in 1 line. Output to the user to show how the calculations were performed. I can't remember how rounding is written. Is it recorded at all?
Weft, how to count it, I understand how to indicate it in a line, for example:
c = ( x / y ) + b
How to indicate that x / y is rounded to hundredths

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rsa97, 2018-07-20
@webinar

There are standard characters only for rounding to an integer:
⌈x⌉ - round up (ceil)
⌊x⌋ - round down (round)
[x] - round to the nearest integer

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question