« Return to Thread: rouinding

Re: rouinding

by Thomas Sefzick :: Rate this Message:

Reply to Author | View in Thread

the output is 0
you are doing integer arithmetics.

try
print 3./4.

erore wrote:
If I write print 3/4 in gnuplot the output is 1! I tried set format, searching the web and no results. How just to tell the program that I want decimals?

 « Return to Thread: rouinding