LOTUSSCRIPT LANGUAGE


CByte function
Ejemplo

Returns an expression converted to the Byte data type.

Nota This function is new with Domino Release 6.

Syntax

CByte ( expr )

Elements

expr


Return value

CByte returns an expression that has been converted to Byte.

CByte(EMPTY) returns 0.

If expr is a string expression, CByte returns the numeric representation of the string, rounded to the nearest integer. If LotusScript cannot convert the string to a number, the function raises an error.

If expr lies outside the acceptable range for the Byte data type, the function raises an error.

Ejemplo
Véase también


Glosario
¿Desea opinar sobre la Ayuda o sobre la utilidad del producto?