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 previous message
koldo is currently offline  koldo
Messages: 3459
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
 
Read Message
Read Message
Previous Topic: ERROR: EXCEPTION_ACCESS_VIOLATION IN CORE ON DEBUGGING!
Next Topic: More Xmlize functions
Goto Forum:
  


Current Time: Wed May 27 01:09:09 GMT+2 2026

Total time taken to generate the page: 0.00488 seconds