Divide with zero
#1

Hi guys,
I'm makeing some stats for business system and I have a little bit BIG problem, some arrays will be zero few days(maybe more) in new month(stats are splited in months) but computer can't divide with zero. So, is any way that exit from dividing be 0 if is divider 0? It's help me a lot because now(with this stupid math) I must split that code(format function) on whole bench of ugly checks... Thanks a lot guys
Reply


Messages In This Thread
Divide with zero - by vannesenn - 01.05.2015, 21:15
Re: Divide with zero - by arlindi - 01.05.2015, 21:17
Re: Divide with zero - by vannesenn - 01.05.2015, 21:23
Re: Divide with zero - by arlindi - 01.05.2015, 21:25

Forum Jump:


Users browsing this thread: 1 Guest(s)