Consider the following function in Julia:
points = range(0.0, 0.5, length = 100)
The output is like this : 0.0 p1 p2 ... 0.5
Now, p1, p2, etc. have different number of digits after the decimal points. What I want to do is to get an output which has a fixed number of digits after the decimal point. For example, I want to set the boundary points to 0.00000 and 0.50000 and also get points in the range each with five digits after the decimal point. I would also like to print the output to a file such that each number (including 0.0 and 0.5) has the same number of digits after the decimal point.
How to do this in Julia?