BullCharts Forum Homepage
Forum Home Forum Home > BullCharts > BullScript
  New Posts New Posts RSS Feed: What happens when denominator is 0?
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

What happens when denominator is 0?

 Post Reply Post Reply
Author
Message / View First Unread Post
Owen View Drop Down
Regular
Regular


Joined: 15 Nov 2004
Posts: 97
Post Options Post Options   Quote Owen Quote  Post ReplyReply Direct Link To This Post Topic: What happens when denominator is 0?
    Posted: 05 Jun 2005 at 10:08pm
If I write a formula in the form of x/y, and y turns out to be 0, how does Bullscript deal with situations like this?
Back to Top
Peter View Drop Down
BullCharts Staff
BullCharts Staff
Avatar

Joined: 09 Sep 2004
Location: Australia
Posts: 241
Post Options Post Options   Quote Peter Quote  Post ReplyReply Direct Link To This Post Posted: 06 Jun 2005 at 10:09am
It evaluates to a special number, undefined.

This is so you can create formulas such as C/(H-L) without worrying about errors. The resulting plot will skip over any undefined points. ie, it will connect a line from the day before to the day after.

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Bulletin Board Software by Web Wiz Forums® version 9.69
Copyright ©2001-2010 Web Wiz