I have the following problem:
| Result |
10 / 0,9280 = | 10,77 |
10 / 0,8740 = | 11,44 |
214,35 / 0,9280 = | 230,98 |
Note: This information is stored on the server with rounding, just like the example.
Now if I take this information and flip it to show the user the original value:
| Result |Correto |
10,77 * 0,9280 = | 9,99456 | 10 |
11,44 * 0,8740 = | 9,99856 | 10 |
230,98 * 0,9280 = | 214,34944 | 214,35 |
How can I do this rounding?