summaryrefslogtreecommitdiffstats
path: root/src/doc
diff options
context:
space:
mode:
authorAndrés <andmarti@gmail.com>2021-03-21 18:41:51 -0300
committerAndrés <andmarti@gmail.com>2021-03-21 18:41:51 -0300
commitb3bcc8a055781ce3b16681e3890af3f69a9c8393 (patch)
treeb3ea6fa3d4b5d0cc545fc1ca9f6b2c995615f19c /src/doc
parentd4c6fc6353eb370f906c27dd6bd64c59ed62dd44 (diff)
Adde @fmt to doc
Diffstat (limited to 'src/doc')
-rwxr-xr-xsrc/doc8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/doc b/src/doc
index 13c6813..d784593 100755
--- a/src/doc
+++ b/src/doc
@@ -1545,6 +1545,14 @@ Commands for handling cell content:
Always use it only with @ston see example:
@ston(@lua("luascript",0))
+ @fmt("{se}", {e})
+ Convert a number to a string. The argument se must be a valid
+ printf(3) format string. e is converted according to the standard
+ rules. For example, the expression
+ @fmt("∗∗%6.3f∗∗", 10.5)
+ yields the string ``∗∗10.500∗∗''. e is a double, so applicable
+ formats are e, E, f, g, and G. Try ``%g'' as a starting point.
+
==============================================================================
&Built-in Date and Time Functions&