Navigation:  Reference > Functions >

GetIntegerPart()

Print this Topic Previous pageReturn to chapter overviewNext page

 

INT(1)

 

PURPOSE

This function will return the integer portion only of a N type field.

 

PARTS

 

1 f/c/eRequired - The N type field to use.  The original field is unchanged.

 

RETURN TYPE - N        

 

COMMENTS

The decimal value is not rounded up but just eliminated.  The decimal characters are still there; it's just that the value of those characters will be 0.

 

EXAMPLE

define n type n size 10 dec 3

n = int(2.935)

// n = 2.000

 

 


Page url: http://www.cassoftware.com/tas/manual/getintegerpart().htm