question about the function 'round' in rep



Hello all,

I get an error, when I execute the following command:

(move-window-to (input-focus) (round 1200.3) (round 200.4))

And 

(move-window-to (input-focus) 1200 200) 

works correctly. And I found: 

in elisp:        (round 2.3) -> 2
but in rep:    (round 2.3) -> 2.

Is 2. an Integer ?  I checked it by using following command:

(integerp (round 2.3)) -> t

So 2. is an integer. But why is my 1st. command wrong?  

Best regards

Li


-- 
View this message in context: http://www.nabble.com/question-about-the-function-%27round%27-in-rep-tp25229099p25229099.html
Sent from the Gnome - Sawfish mailing list archive at Nabble.com.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]