Very new to PocketC...

Postby blhorn on Fri Nov 23, 2001 10:13 pm

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?

Posts: 18
Joined: Fri Nov 23, 2001 10:07 pm
Location: USA

Postby jstadolnik on Mon Nov 26, 2001 1:40 pm

Just add a 0 to the left of the decimal point: 12/0.125

Posts: 1741
Joined: Wed Dec 06, 2000 3:34 am
Location: USA

Return to PocketC for Palm OS KB

Who is online

Users browsing this forum: No registered users and 0 guests