diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-09-24 07:13:05 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-09-24 07:13:05 -0700 |
commit | 657217908b4a9e41de931b433b7b0a494abacb96 (patch) | |
tree | d73870a3e31a0d31423449e5ef9c60b011c1c987 /txr.1 | |
parent | 856c7188075a3e74ac4d9ef4dd665774f193d8d1 (diff) | |
download | txr-657217908b4a9e41de931b433b7b0a494abacb96.tar.gz txr-657217908b4a9e41de931b433b7b0a494abacb96.tar.bz2 txr-657217908b4a9e41de931b433b7b0a494abacb96.zip |
awk macro: fconv conversions iz, xz, oz, bz and rz.
* share/txr/stdlib/conv.tl (sys:conv-let): New
flets iz, oz, xz, bz and rz.
* txr.1: Documented under fconv.
Diffstat (limited to 'txr.1')
-rw-r--r-- | txr.1 | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -39104,6 +39104,22 @@ the floating-point value which it denotes. The expression .code "(r str)" is equivalent to .codn "(tofloat str)" . +.ccIP @, iz @, oz @, xz @ bz and @ rz +Conversion similar to +.codn i , +.codn o , +.codn x , +.code b +and +.codn r , +but using +.code tointz +and +.codn tofloatz . +Thus fields which are non-numeric strings or the object +.code nil +get converted to 0, or 0.0 in the case of +.codn rz . .RE .SS* Environment Variables and Command Line |