Thanks very much for your answer, but it doesn't help for my main issue which is to get only say for example the 3 first digits of such numbers. I have convergence issues with fsolve/fzero solvers due to these big figures, and would like to round them.
This is not the decimal I am trying to round, but the whole figure, and in this example case it would be suitable to get 180000000000000000000000 instead of 1799999999999999916113920.
Regarding what you said Walter, this is very helpful but how would you proceed to keep only the first significant digits in order to avoid convergence issues due to the accuracy of the arithmetic in the calculations, please.
I am in need of something generic since I have lengthy arrays of such numbers.