Today I got the question to write to Excel numeric data up to a selected precision.
Converting to strings didn't work out, as strings will be strings in Excel.
The trick I used is to avoid converting to strings, but use the round function, as this function can round up to a certain number of decimals (positive and negative!).