Printf

    Print using C printf style format specification string. Optionally, an IO may be passed as the first argument to redirect output.

    Examples

    Caveats

    Inf and NaN are printed consistently as and NaN for flags %a, %A, %e, , %f, %F, %g, and %G. Furthermore, if a floating point number is equally close to the numeric values of two possible output strings, the output string further away from zero is chosen.

    — Macro

    Return @printf formatted output as string.