StringUtils -> Formatting

This commit is contained in:
Jukka Aho
2016-07-14 13:08:11 +03:00
parent 8ffcaefa7c
commit c9fc5bf5b0
2 changed files with 5 additions and 4 deletions
-1
View File
@@ -6,4 +6,3 @@ HDF5
JLD
Compat
DataFrames
StringUtils
+5 -3
View File
@@ -7,7 +7,8 @@ using JuliaFEM
using DataFrames
using HDF5
using LightXML
using StringUtils
using Formatting
#using StringUtils # not in metadata
import HDF5: h5read, h5write
@@ -68,8 +69,9 @@ end
""" A more appropriate representation for floats in results. """
function DataFrames.ourshowcompact(io::IO, x::Float64)
print(io, u"\% 0.4E(x)")
return
#print(io, u"\% 0.4E(x)")
#return
print(io, sprintf1("% 0.4E", x))
end
"""