lIsInt()

Post Reply
FiveWiDi
Posts: 1207
Joined: Mon Oct 10, 2005 2:38 pm

lIsInt()

Post by FiveWiDi »

Hola a todos,

Existe una función que me diga que una cifra es un número entero?

Algo así como lIsInt( nmiNumerito )

Muchas gracias,
Un Saludo
Carlos G.

FiveWin 24.02 + Harbour 3.2.0dev (r2403071241), BCC 7.7 Windows 10
User avatar
Antonio Linares
Site Admin
Posts: 42259
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: lIsInt()

Post by Antonio Linares »

Carlos,

Code: Select all | Expand

function lIsInt( n )

return n == Int( n )
regards, saludos

Antonio Linares
www.fivetechsoft.com
FiveWiDi
Posts: 1207
Joined: Mon Oct 10, 2005 2:38 pm

Re: lIsInt()

Post by FiveWiDi »

Antonio Linares wrote:Carlos,

Code: Select all | Expand

function lIsInt( n )

return n == Int( n )
Perfecto,

Muchas gracias,
Un Saludo
Carlos G.

FiveWin 24.02 + Harbour 3.2.0dev (r2403071241), BCC 7.7 Windows 10
Post Reply