Replies: 1 comment
-
You're right, now the equivalent is the Examplesprint -> to :string .format: "MMM dd yy" now ; => Sep 03 23
print -> "$" ++ to :string .format: ".2f" 15.05648 ; => $15.05
print -> "x" ++ as.hex 15 ; => xf
print -> "b" ++ as.binary 14 ; => b1110 IdeasI do agree with you and new ways to formatting would be good, something inside the string interpolation as Python does now, or some C-ish formatting. I think a |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
we can use
to print
but we can't use
which is, however, nice for complex string. So my question is, how to do such C's
printf
in arturo?Thanks
Beta Was this translation helpful? Give feedback.
All reactions