fangq/jsonlab

FloatFormat Default savejson

dwschmid opened this issue · 1 comments

What is the reason for the default %.10g FloatFormat in savejson? 'Just spent lots of time debugging a code where in the end it turned out that we lost precision on doubles due to save and read. Would %.16g as a default not be safer in this respect?

fangq commented

thanks, fixed!