I have a function which is given below. If my number, n is 0. or 1. the function gives 0.E0 or 1.E0, respectively. However, I would like to form it as 0.0000E0 or 1.0000E0 like the other numbers given in the function. How could I solve this problem ?
f[n_] := ScientificForm[N[n], NumberFormat -> (Row[{#1, "e", If[#3 == "", "0", #3]}] &)];
Thank you.