MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / setFloatValue

Method setFloatValue

Engine/source/console/stringStack.cpp:81–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79}
80
81void StringStack::setFloatValue(F64 v)
82{
83 validateBufferSize(mStart + 32);
84 dSprintf(mBuffer + mStart, 32, "%.9g", v);
85 mLen = dStrlen(mBuffer + mStart);
86}
87
88char *StringStack::getReturnBuffer(U32 size)
89{

Callers 2

setFloatVariableMethod · 0.45
setFloatVariableFunction · 0.45

Calls 2

dSprintfFunction · 0.85
dStrlenFunction · 0.50

Tested by

no test coverage detected