Re: abs() , rnd() func or integer cast?

new topic     » goto parent     » topic index » view thread      » older message » newer message

Asa wrote:
> 
> 
>  Hi everyone, maybe I just missed it, but i can't find a lib function
>  or builtin to isolate the integer part of a number. I need to just take
> the integer part of a division result, but amazingly I can't find any way
> of doing this in Euphoria. I searched the docs for either a integer divide 
> such as DIV in pascal, or a lib function strip the decimal part off a number
> so I can use it as an indice in a sequence!

Look up ' floor '

Bernie

My files in archive:
WMOTOR, XMOTOR, W32ENGIN, MIXEDLIB, EU_ENGIN, WIN32ERU, WIN32API 

Can be downloaded here:
http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=bernie+ryan

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu