Valuator.formatValue

int formatValue(char[] buffer) const nothrow @nogc

Formats the current value as a string.

The format depends on the step value. If step is zero or >= 1, the value is formatted as an integer. Otherwise, it's formatted with appropriate decimal places.

Parameters

bufferBuffer to store the formatted string (should be at least 128 bytes)

Returns

Number of characters written