summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-05-25 06:30:32 -0700
committerKaz Kylheku <kaz@kylheku.com>2021-05-25 06:30:32 -0700
commit691d5dd10cbe3e8f24292146916ebc19aa6379b4 (patch)
treefcef2d7370109343d2197b5af5b5ac40a46bc457 /txr.1
parentf390cac7b32c4e9d612eaaad21093d2c0ebdfb0a (diff)
downloadtxr-691d5dd10cbe3e8f24292146916ebc19aa6379b4.tar.gz
txr-691d5dd10cbe3e8f24292146916ebc19aa6379b4.tar.bz2
txr-691d5dd10cbe3e8f24292146916ebc19aa6379b4.zip
doc: maintenance in description of toint, tofloat.
* txr.1: Improve wording, eliminate superfluous comma.
Diffstat (limited to 'txr.1')
-rw-r--r--txr.110
1 files changed, 6 insertions, 4 deletions
diff --git a/txr.1 b/txr.1
index 85374e50..ea96de7b 100644
--- a/txr.1
+++ b/txr.1
@@ -44789,12 +44789,14 @@ floating point value.
.mets (toint < value <> [ radix ])
.syne
.desc
-These convenience functions convert
+These functions convert
.meta value
-to floating-point or integer, respectively.
+to floating-point or integer, respectively. The
+.meta value
+can be of several types, including string.
If a floating-point value is passed into tofloat, or an integer value into
-toint, then the value is simply returned.
+toint, then that value is simply returned.
If
.meta value
@@ -44807,7 +44809,7 @@ is a string, then it is converted by
.code tofloat
as if by the function
.metn flo-str ,
-, and by
+and by
.code toint
as if by the function
.codn int-str .