MCPcopy Create free account
hub / github.com/GarageGames/Torque2D / SetDoubleValue

Method SetDoubleValue

engine/source/persistence/tinyXML/tinyxml.cpp:1233–1242  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1231}
1232
1233void TiXmlAttribute::SetDoubleValue( double _value )
1234{
1235 char buf [256];
1236 #if defined(TIXML_SNPRINTF)
1237 TIXML_SNPRINTF( buf, sizeof(buf), "%g", _value);
1238 #else
1239 sprintf (buf, "%g", _value);
1240 #endif
1241 SetValue (buf);
1242}
1243
1244int TiXmlAttribute::IntValue() const
1245{

Callers 1

SetDoubleAttributeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected