JanetDocsSourcePlaygroundI'm feeling luckyCommunityGitHub sign in

xprinf

core-api


    cfunction
    src/core/io.c on line 678, 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