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))


(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


View this message in context:
Sent from the Gnome - Sawfish mailing list archive at

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