Hopsan / hopsan

Hopsan is a free multi-domain system simulation tool developed at the division of Fluid and mechatronic systems at Linköping university.
Apache License 2.0
162 stars 44 forks source link

Make sure we save doubles with good enough precision #369

Open hopsan-bot opened 6 years ago

hopsan-bot commented 6 years ago

Author Name: Peter Nordin (@peterNordin) Original Redmine Issue: 369, https://flumes.iei.liu.se/redmine/issues/369 Original Date: 2011/12/14


Make sure we save doubles with good enough precision

In many places we save numbers to XML, attributes or textnodes, in some places we dont care about precision and format, some helpfunctions will not even allow these to be set,

All XML helpfunctions writing double numbers should be able to set this. And we should make sure that we always save with appropriate precision where needed

peterNordin commented 6 years ago

Also scientific notation should be used. I have already made various changes like this, but some may remain