This is infact a very small number.
-1.1234e-005
is -1.1234 * (10 ^ -5)
, which is very small.
Contrary to your comment, formattedPrint
does 'fix' this.
formattedPrint -1.1234e-005 format:".6f"
output: "-0.000011"
You can use it as such in your exporter:
num_verts = sel_mesh.numverts
for i=1 to num_verts do (
v = getVert sel_mesh i
format "v %\n" (formattedPrint v format:".6f") to:out_file
)
format "\n" to:out_file