Forget the b-a part. That was just an example. I'm actually taking a complicated quotient. But besides that, I think your logic is flawed. Your statement returns 0 if b-a is greater than 100. It should return 100.
t edit Yes, your edit is correct!
'Shindig'
Got a question about technology? Ask it here. Discussion of hardware, software, TiVos, multi-region DVDs, Windows, Macs, LINUX, hand-helds, iPods, anything tech related. Better than any helpdesk!
Forget the b-a part. That was just an example. I'm actually taking a complicated quotient. But besides that, I think your logic is flawed. Your statement returns 0 if b-a is greater than 100. It should return 100.
t edit Yes, your edit is correct!
If you have to do this sort of calculation a lot, you could just write a function to handle it.
could someone post the link to the mobile version of google reader? the standard version keeps crashing my treo (java) and my flight's delayed an hour...
oh you are made of awesome!
Hi, is anyone here?
Please please? I'm a moron, and I need to ask a non-moron some questions please!!!
Hey, there!
HI!!!!!!!!!! How are you DX???
Also, not a moron. (That is, you are not a moron. My moronitude is still an open question.)