Page 1 of 1

PostPosted: Fri Nov 23, 2001 10:13 pm
by blhorn
Just a little BG info. I have not done programming in a very long time. Basic and Lisp are the only languages I have programmed in.

My question is, I am having trouble getting example: 12/.125 to divide properly. I can get the answer in a decimal, but get ERROR Addr: 63 Func: main Divide by Zero.

How do I get or PocketC to accept decimal as an input?


PostPosted: Mon Nov 26, 2001 1:40 pm
by jstadolnik
Just add a 0 to the left of the decimal point: 12/0.125