MCPcopy Index your code
hub / github.com/assaultcube/AC / floatret

Function floatret

source/src/command.cpp:473–476  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

471}
472
473void floatret(float v, bool neat)
474{
475 commandret = newstring(floatstr(v, neat));
476}
477
478void result(const char *s) { commandret = newstring(s); }
479COMMAND(result, "s");

Callers 7

getvarrangeFunction · 0.85
addf_Function · 0.85
mulf_Function · 0.85
subf_Function · 0.85
divf_Function · 0.85
modf_Function · 0.85
powf_Function · 0.85

Calls 2

newstringFunction · 0.85
floatstrFunction · 0.85

Tested by

no test coverage detected