summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2014-12-05 22:36:15 -0800
committerKaz Kylheku <kaz@kylheku.com>2014-12-05 22:36:15 -0800
commit462024f5d4cd7bc2c134eb732eabaea6f3bafc1e (patch)
tree552bf326425892de3127cca74c517643b10de89c /txr.1
parent0bbef1e12870a4f749a112dfb4ef8a09736e8b29 (diff)
downloadtxr-462024f5d4cd7bc2c134eb732eabaea6f3bafc1e.tar.gz
txr-462024f5d4cd7bc2c134eb732eabaea6f3bafc1e.tar.bz2
txr-462024f5d4cd7bc2c134eb732eabaea6f3bafc1e.zip
* arith.c (tofloat, toint): Handle characters.
Fix error message in toint wrongly identifying itself as tofloat. * txr.1: Document handling of characters.
Diffstat (limited to 'txr.1')
-rw-r--r--txr.15
1 files changed, 5 insertions, 0 deletions
diff --git a/txr.1 b/txr.1
index a68cc498..0c3ab384 100644
--- a/txr.1
+++ b/txr.1
@@ -18884,6 +18884,11 @@ toint, then the value is simply returned.
If
.meta value
+is a character, then it is treated as a string of length one
+containing that character.
+
+If
+.meta value
is a string, then it is converted by
.code tofloat
as if by the function