tmp.floatCell
private fn
const(char)[] floatCell(T)(T v, return scope char[] tmp) @safeFormats one float into tmp through formatValue with the default %s spec - the shortest round-trip text, byte-identical to to!string (pinned by the differential sweep below).
Parameters
T | FLOAT32 or FLOAT64 |
v | the value |
tmp | the scratch buffer (24 bytes suffice for any double) |
Returns
the formatted text, a slice of