-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ack!  Mine is wrong too!

Mine is a round function for a language with no round function!

On Apr 13, 2005, at 3:37 PM, Frank D. Engel, Jr. wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hmm... rounding 2 up with that formula will yield 3 instead of 2; is this what you want?

Consider:

function ceil x
  return trunc(x + 0.5)
end ceil


On Apr 13, 2005, at 3:28 PM, David Burgun wrote:

no, use:

trunc(1.5)+1

Thanks! There should be a mention of this on the round and statRound documentation pages!


Cheers
Dave
_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


- -----------------------------------------------------------
Frank D. Engel, Jr.  <[EMAIL PROTECTED]>

$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep "John 3:16"
John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life.
$
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)


iD8DBQFCXXTh7aqtWrR9cZoRAug5AKCLFEoknl8im6wcRq6iZHeIJTejDgCfYHAO
1YcsCaME3TllFCOSp7KhXAw=
=fBN+
-----END PGP SIGNATURE-----



___________________________________________________________
$0 Web Hosting with up to 200MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com

_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


- -----------------------------------------------------------
Frank D. Engel, Jr.  <[EMAIL PROTECTED]>

$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep "John 3:16"
John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life.
$
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)


iD8DBQFCXXWT7aqtWrR9cZoRApz/AJ9Q1Qht+7VPJnLi4mnQIhpfeo6ZQwCcDWN+
4kUqB4SGDocQJk5NvAW7VOo=
=hXpo
-----END PGP SIGNATURE-----



___________________________________________________________
$0 Web Hosting with up to 200MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com

_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to