diff --git a/code/STEPFileReader.cpp b/code/STEPFileReader.cpp index 7741a8f90..7d39335f3 100644 --- a/code/STEPFileReader.cpp +++ b/code/STEPFileReader.cpp @@ -342,9 +342,8 @@ boost::shared_ptr EXPRESS::DataType::Parse(const char*& const char* start = cur; for(;*cur && *cur != ',' && *cur != ')' && !IsSpace(*cur);++cur) { if (*cur == '.') { - // XXX many STEP files contain extremely accurate data, float's precision may not suffice in many cases - float f; - inout = fast_atoreal_move(start,f); + double f; + inout = fast_atoreal_move(start,f); return boost::make_shared(f); } }