MCPcopy Create free account
hub / github.com/DFHack/dfhack / SetDoubleValue

Method SetDoubleValue

depends/tinyxml/tinyxml.cpp:1261–1270  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1259}
1260
1261void TiXmlAttribute::SetDoubleValue( double _value )
1262{
1263 char buf [256];
1264 #if defined(TIXML_SNPRINTF)
1265 TIXML_SNPRINTF( buf, sizeof(buf), "%g", _value);
1266 #else
1267 sprintf (buf, "%g", _value);
1268 #endif
1269 SetValue (buf);
1270}
1271
1272int TiXmlAttribute::IntValue() const
1273{

Callers 1

SetDoubleAttributeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected