JanetDocsPlaygroundI'm feeling luckyGitHub sign in

xprinf



    cfunction
    src/core/io.c on line 628, column 1

    (xprinf to fmt & xs)

    Like `prinf` but prints to an explicit file or value `to`. Returns 
    nil.


1 exampleSign in to add an example
Loading...
(def b @"")
(def v (* 1000 (math/random)))
# => 487.181 your number can differ
(xprinf b "Value reached level %f" v)
# => nil
b
# => @"Value reached level 487.181188"
pepePlayground