Printf

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

    Examples

    For a systematic specification of the format, see . See also @sprintf.

    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.

    Examples

    Return @printf formatted output as string.

    Examples