Re: simple eurphoria question

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

john thomas wrote:
> 
> 
> can someone please tell me how to get the integer part of a number
 in an atom
> in order to assign it to an integer variable

atom number,atom,_part
integer integer_part

 number=1.1
 integer_part=floor(number)--1
 atom_part=number-integer_part--.1
 --.1 can't be assigned a intger value



Don Cole

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

Search



Quick Links

User menu

Not signed in.

Misc Menu