Clarion - Parte entera

 
Vista:
sin imagen de perfil

Parte entera

Publicado por Marcelo Madelón (572 intervenciones) el 11/01/2012 17:00:51
Critian

Debes usar: INT



Te paso lo que está en el help

INT Return integer.

expression A numeric constant, variable, or expression.


The INT procedure returns the integer portion of a numeric expression. No rounding is performed, and the sign remains unchanged.

Return Data Type:
REAL or DECIMAL


Example:

INT(8.5) returns 8

INT(-5.9) returns -5



x = INT(y) !Return integer portion of y variable contents



Espero te sirva
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar