MCPcopy Create free account
hub / github.com/AutoHotkey/AutoHotkey-v1.0 / GetFormatFloat

Method GetFormatFloat

Source/script.cpp:10217–10223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10215}
10216
10217VarSizeType Script::GetFormatFloat(char *aBuf)
10218{
10219 if (!aBuf)
10220 return (VarSizeType)strlen(g.FormatFloat); // Include the extra chars since this is just an estimate.
10221 strlcpy(aBuf, g.FormatFloat + 1, strlen(g.FormatFloat + 1)); // Omit the leading % and the trailing 'f'.
10222 return (VarSizeType)strlen(aBuf);
10223}
10224
10225VarSizeType Script::GetKeyDelay(char *aBuf)
10226{

Callers 1

GetMethod · 0.80

Calls 1

strlcpyFunction · 0.85

Tested by

no test coverage detected