1
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 recorded on the rounded server, like the example.
Now if I take this information and flip 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 I can make this round?
you could round with the Roundto method in this way, following example: Roundto (1.234, -2); //returns 1.23, so if you round Roundto(9.99456, -3) I think you get the result.
– Carlos Henrique
Managed to solve friend?
– Carlos Henrique