Skip to content

Commit 768af47

Browse files
author
livecodesam
authored
[[ Bug 22892 ]] Corrected the definition of is a number and integer
1 parent af1e15b commit 768af47

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

docs/dictionary/operator/is-a.lcdoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,11 @@ A <value> is a(n):
5656
* color if it is a valid <color reference>
5757
* date if it is in one of the formats produced by the <date> or <time>
5858
functions
59-
* <integer(keyword)> if it consists of digits (with an optional leading
60-
minus sign), or an hexadecimal number (such as 0x0F9B)
61-
* number if it consists of digits, optional leading minus sign, optional
62-
decimal point, and optional "E" or "e" (scientific notation), or an
63-
optional leading minus sign and infinity or inf
59+
* number if it is a result of a numeric operation, or a string representing a
60+
decimal number (e.g. 100.01 or -10), a hexadecimal number (e.g. 0x1FB)
61+
or a number in scientific notation (e.g. 100.001e-10).
62+
* <integer(keyword)> if it is a number and the number has no (non-zero)
63+
fractional part (e.g. 100.000 is an integer, but 100.001 is not an integer).
6464
* <point> if it consists of two numbers separated by a comma
6565
* <rectangle|rect> if it consists of four numbers separated by commas
6666
* <ASCII> string if it does not contain any characters greater than

docs/notes/bugfix-22892.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Corrected the definition of is a number and integer

0 commit comments

Comments
 (0)