U++ framework
Do not panic. Ask here before giving up.

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: 3458
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: 14291
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: Tue May 05 13:35:03 GMT+2 2026

Total time taken to generate the page: 0.00603 seconds