My English is not so good. Can someone please tell me what a non-integer string is?
What is probably meant by
is the ascii representation of some input which would not evaluate to a number, the is not consisting of only numeric digits
are all examples of integers.
any other characters
[a...z, A...Z] and other non-digit characters would be fine.
More context would be fine, but my programming background hints me that a non-integer string is one that is not a text representation of an integer value. Some examples of integer strings:
etc, that is, any format format for integers as accepted by, say, scanf or atoi functions.
A non-integer string is everything else.
This is a computer-related term. String refers to a sequence of characters that is used as data. The characters can include letters, numbers, and symbols.
An integer is a "whole" number, i.e., a number with no decimal or fractional portion. If you are referring to a single digit, that is an integer.
Numerical values can be used for mathematical calculations. Non-numerical values can't, they are treated as text. But numbers can also be treated like text.
"String" typically refers to data that is treated as text. "Non-integer string" includes both a number reference and a text reference, implying that your source is using a more general definition of "string", to include any sequence of characters (text or numerical), so I'll assume that here.
To complicate things, data can be stored as a predefined type, which ensures that it will be used in the intended way. Text is one type. Numeric data can be stored as an integer value or a "floating point" value, which is a number that can have a fractional part.
A string isn't limited to a stored value, it can be created on-the-fly. That can include expressions or formulas that are evaluated by the software to produce a string. Also, a string of numerical data that is stored as text, or results from manipulating text, can be converted by the software into a number that can then be used in calculations.
So non-integer string could refer to a number of things depending on how precisely the term is being used, or the context, including but probably not limited to:
- a sequence of characters that does not evaluate to a numerical value that can be used in a math calculation
- a sequence of characters that does not evaluate to an integer
- characters stored as a datatype of text
- numerical values stored as a floating point number