On 12/14/06, T. Michael Keesey <[EMAIL PROTECTED]> wrote:
Heron's formula looks pretty simple:
Actually, this does return "NaN" for some numbers, but it's pretty simple to realize why. For example, it returns "NaN" if you input side lengths of 1, 2, 4. Why? Well, you try building a triangle with sides of those lengths and let me know how far you get.... -- T. Michael Keesey The Dinosauricon: http://dino.lm.com Parry & Carney: http://parryandcarney.com ISPN Forum: http://www.phylonames.org/forum/ _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com