How do I ensure the user is only allowed integer input?
我如何确保只允许用户输入整数?
During input, automatically ignore the non-integer input off. 2.
在输入过程中,自动忽略掉输入的非整数型。
PrefixInt prefixes a (user-configured) integer to its integer input stream.
PrefixInt 在它的整数输入流之前加上一个(用户配置的)整数。
Assign a large integer to each of the constituent words of the input service name.
为输入服务名的每个组件字指定一个较大的整数。
If that integer divides the input integer, it adds not only that integer but the input integer divided by the counter-integer, and adds them to a list.
如果该整数可以除输入整数,则不仅要加上该整数而且要加上除以计数整数的输入整数,并将它们添加到一个列表中。
The latter is simple for data types, such as integer or characters, but more complex for input parameters of type XML.
对于数据类型,例如整数或字符,要生成输入域就比较简单,但是对于xml类型的输入参数,就要更复杂一些。
That is, the first output from this process, before any integer is available on its input channel, is the configured integer itself.
也就是说,在这个进程的输出通道上有整数可用之前,第一个输出是预先配置的整数。
The input parameter named "P1" is of data type integer, the other input parameter "P2" is of type character.
输入参数 “P1”的数据类型是整型,另一个输入参数 “P2” 的数据类型是字符型。
It loops through all of the integers that are less than or equal to the square root of the input integer.
对输入的整数求平方根,遍历所有小于或等于平方根的整数。
Delta2Int broadcasts, in parallel, every integer arriving on its input streams to its two output channels.
Delta2Int平行地把到达它的输入流的每个整数广播到它的两个输出通道。
The first method (AddOne) takes an integer as an input parameter.
第一个方法(AddOne)使用整数作为输入参数。
UPDATE is an INSERT, UPDATE, DELETE, or MERGE operation that may have input parameters and that returns an integer (number of affected rows).
更新是一个INSERT、UPDATE、DELETE或MERGE操作,可以有输入参数,返回一个整数(受影响的行数)。
IntegerLiteral expects to immediately encounter an integer in the input stream, else the expression would be invalid.
integerLiteral希望在输入流中立即遇到一个整数,否则该表达式将无效。
DB2 V9.5 enhances this function to introduce a new parameter function which takes an integer value as input.
DB 2V9.5增强了该函数,引进了一个新的parameter函数,该函数将一个整数值作为输入。
Essentially, the first output from the PrefixInt process is 0, which is added by the PlusInt process to the first integer to arrive on the input channel.
实际上,PrefixInt进程的第一个输出是0,它是通过PlusInt进程添加到输入通道到达的第一个整数上的。
One takes a double-precision floating point as input, another takes an integer and a scale factor, and another takes a String representation of a decimal number.
其中一个构造函数以双精度浮点数作为输入,另一个以整数和换算因子作为输入,还有一个以小数的String表示作为输入。
This rule fires when an integer is encountered in the input stream, and the value of that integer (as text) is assigned to the instance variable, t.image.
当在输入流中遇到整数时会 触发该规则,该整数(象文本一样)的值被赋给实例变量 t.image 。
The PrefixInt process then sends the integer as-is input to the PlusInt process to be added to the second integer in the stream, and so on.
然后 PrefixInt 进程把整数作为输入发送给PlusInt进程,并添加到流中的第二个整数,如此类推。
Customize a checklist of the input validation, which contains validation to integer, float, text, date, etc. (See Figure 11.)
制定一个输入确认的清单,它包括对精确数值、浮标、文本、数据等的确认(请看图11)。
It also details in concrete terms the composition of the three tokens (a plus sign, a minus sign, and an integer) that the parser expects to encounter while scanning through the input stream.
它还详细描述了三个记号(加号、减号和整数)组合的具体项,解析器在扫描整个输入流时希望遇到这些项。
The third possible event is wherein an integer is received on the device's input channel.
第三个可能是事件是从设备的输入通道接收整数的事件。
To write an integer constant as part of a program or as input data, you simply write the digits that make up the number.
将整形常量作为程序的一部分或者是输入数据,可以简单地直接写下数字。
One example of this would be the use of the XML: any data type, as opposed to restricting input to an integer or string.
使用xml:any数据类型就是这样的一个例子,它并没有将输入数据限定为整数或者字符串。
The logic is that parse will look first for a string, then for an integer, and finally for a real, in that order, in the input stream.
这里的逻辑是parse将在输入流中首先查找一个字符串,然后查找整数,最后查找一个实数。
It should be noted that there may be occasions where the data total input for breakback does not result in integer data in cells.
这里应该指出,偶尔会出现breakback的数据总数输入在单元格中不会产生整数。
Offset Unsigned long integer giving the IL offset from the input string, or zero if there was no IL offset or the string was not well formed.
无符号长整型数,它给出输入字符串的IL偏移量,或在没有IL偏移量或字符串格式不良时给出零。
Input consists of several test cases. The first line of the input file contains a single integer indicating the number of test cases.
输入由多个案例组成。第一行就一个整数表示测试案例的个数。
Data after simply integer mapping can be used as the input of sequential pattern mining, this afford high quality data and uniform format for quickly mining sequential pattern.
数据仓库中的数据经过简单的整数映射可以直接作为序列模式挖掘算法的输入,为高效地挖掘序列模式提供了高质量的数据和统一的格式。
The first line of the input file contains the integer n.
输入文件的第一行包含整数N。
A second input of a table-looping extractor functoid must be a positive integer which determines the column number that will be extracted from the table-looping functoid's grid.
“表循环提取程序”functoid的第二个输入参数必须是一个正整数,它确定将从“表循环”functoid的网格中提取的列数。
应用推荐