Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » Loss of digits in double Xmlize
Loss of digits in double Xmlize [message #25450] Wed, 24 February 2010 12:39 Go to next message
koldo is currently offline  koldo
Messages: 3398
Registered: August 2008
Senior Veteran
Hello all

Now double type Xmlize only stores 10 digits:

(From Xmlize.cpp)
template<> String XmlAttrStore(const double& var)
{
	return AsString(var);
}


To avoid it AsString() would have to be substituted with something equivalent to:

FormatDoubleDigits(var, DBL_DIGITS - 2);


Best regards
IƱaki
Re: Loss of digits in double Xmlize [message #25500 is a reply to message #25450] Fri, 26 February 2010 12:16 Go to previous message
mirek is currently offline  mirek
Messages: 14105
Registered: November 2005
Ultimate Member
A VERY good observation, thanks! Applying the patch now.

Mirek
Previous Topic: ERROR: EXCEPTION_ACCESS_VIOLATION IN CORE ON DEBUGGING!
Next Topic: More Xmlize functions
Goto Forum:
  


Current Time: Fri Nov 01 02:05:21 CET 2024

Total time taken to generate the page: 0.03112 seconds