mirror of
https://github.com/johnkerl/miller.git
synced 2026-08-02 04:22:59 +00:00
neaten
This commit is contained in:
parent
13b3de0c01
commit
4892a3bf9b
5 changed files with 9 additions and 5 deletions
|
|
@ -372,7 +372,7 @@ static function_lookup_t FUNCTION_LOOKUP_TABLE[] = {
|
|||
{FUNC_CLASS_CONVERSION, "float", 1,0, "Convert int/float/bool/string to float."},
|
||||
{FUNC_CLASS_CONVERSION, "fmtnum", 2,0,
|
||||
"Convert int/float/bool to string using\n"
|
||||
"printf-style format string, e.g. '$s = fmtnum($n, \"%06lld\")'. WARNING: Miller numbers"
|
||||
"printf-style format string, e.g. '$s = fmtnum($n, \"%06lld\")'. WARNING: Miller numbers\n"
|
||||
"are all long long or double. If you use formats like %d or %f, behavior is undefined."},
|
||||
{FUNC_CLASS_CONVERSION, "hexfmt", 1,0, "Convert int to string, e.g. 255 to \"0xff\"."},
|
||||
{FUNC_CLASS_CONVERSION, "int", 1,0, "Convert int/float/bool/string to int."},
|
||||
|
|
|
|||
|
|
@ -1799,7 +1799,8 @@ FUNCTIONS FOR FILTER/PUT
|
|||
|
||||
fmtnum
|
||||
(class=conversion #args=2): Convert int/float/bool to string using
|
||||
printf-style format string, e.g. '$s = fmtnum($n, "%06lld")'. WARNING: Miller numbersare all long long or double. If you use formats like %d or %f, behavior is undefined.
|
||||
printf-style format string, e.g. '$s = fmtnum($n, "%06lld")'. WARNING: Miller numbers
|
||||
are all long long or double. If you use formats like %d or %f, behavior is undefined.
|
||||
|
||||
hexfmt
|
||||
(class=conversion #args=1): Convert int to string, e.g. 255 to "0xff".
|
||||
|
|
|
|||
|
|
@ -1606,7 +1606,8 @@ FUNCTIONS FOR FILTER/PUT
|
|||
|
||||
fmtnum
|
||||
(class=conversion #args=2): Convert int/float/bool to string using
|
||||
printf-style format string, e.g. '$s = fmtnum($n, "%06lld")'. WARNING: Miller numbersare all long long or double. If you use formats like %d or %f, behavior is undefined.
|
||||
printf-style format string, e.g. '$s = fmtnum($n, "%06lld")'. WARNING: Miller numbers
|
||||
are all long long or double. If you use formats like %d or %f, behavior is undefined.
|
||||
|
||||
hexfmt
|
||||
(class=conversion #args=1): Convert int to string, e.g. 255 to "0xff".
|
||||
|
|
|
|||
|
|
@ -2710,7 +2710,8 @@ empty-string) value, else throws an error.
|
|||
.\}
|
||||
.nf
|
||||
(class=conversion #args=2): Convert int/float/bool to string using
|
||||
printf-style format string, e.g. '$s = fmtnum($n, "%06lld")'. WARNING: Miller numbersare all long long or double. If you use formats like %d or %f, behavior is undefined.
|
||||
printf-style format string, e.g. '$s = fmtnum($n, "%06lld")'. WARNING: Miller numbers
|
||||
are all long long or double. If you use formats like %d or %f, behavior is undefined.
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
|
|
|
|||
|
|
@ -4378,7 +4378,8 @@ floor (class=math #args=1): Floor: nearest integer at or below.
|
|||
<div class="pokipanel">
|
||||
<pre>
|
||||
fmtnum (class=conversion #args=2): Convert int/float/bool to string using
|
||||
printf-style format string, e.g. '$s = fmtnum($n, "%06lld")'. WARNING: Miller numbersare all long long or double. If you use formats like %d or %f, behavior is undefined.
|
||||
printf-style format string, e.g. '$s = fmtnum($n, "%06lld")'. WARNING: Miller numbers
|
||||
are all long long or double. If you use formats like %d or %f, behavior is undefined.
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue