- Fernando Leal
- PowerBuilder
- Tuesday, 28 April 2020 08:42 PM UTC
How can I check if a number is integer?
I have a string of characters XXXXXX and I get its length and at the same time I need to convert it and I want to check if it is an integer.
Example:
String ls_cadena = AAAAAA
Integer li_quantidad
li_quantity = len (ls_string)
MOD (li_quantity, 78) = X, how do I validate that the result of this is an integer?
Como yo puedo comprobar si un número es entero?
Tengo una cadena de caracteres XXXXXX y otengo su largo y a la vez necesito devidirlo y yo quiero comprobar si es un entero.
Ejemplo:
String ls_cadena = AAAAAA
Integer li_cantidad
li_cantidad = len(ls_cadena)
MOD(li_cantidad, 78) = X, cómo valido que el resultado de esto es un entero?
thanks and regards,
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.