> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf
> Of Steve Crane
> Sent: 16 October 2004 00:01
> To: [EMAIL PROTECTED]
> Subject: [Gimp-user] Scheme question
> At the moment I am trying to work out how to do integer
> division. I want to draw guides mapping the rule of thirds
> and want to ensure that I get an integer result when I divide
> the image height and width by 3.
> How would I do this?
There is no internal function to convert to integer, but the following will
(define (floor x) (- x (fmod x 1)))
Gimp-user mailing list