Re: [Gimp-user] rounding in gimp

2005-06-08 Thread Sven Neumann
Hi,

Daniela Dyrynkov [EMAIL PROTECTED] writes:

 Can I ask how do I round numbers in gimp? Is there such a Script-Fu
 function? Or should i write it? I have trouble determining what
 functions exists in S-F and what not.

(trunc (+ value 0.5)) should do the trick for positive numbers. There
might even be a round function available. Did you check the SIOD
reference?


Sven

___
Gimp-user mailing list
Gimp-user@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


[Gimp-user] rounding in gimp

2005-06-07 Thread Daniela Dyrynková
Can I ask how do I round numbers in gimp? Is there such a Script-Fu
function? Or should i write it? I have trouble determining what
functions exists in S-F and what not.

Merci

Danielle
___
Gimp-user mailing list
Gimp-user@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user