I've made a program which outputs certain numerical data, angles in radians. However sometimes, my output has values like 7 and 8, which should really be 0.72 and 1.72(or -1.42).
So I'm guessing I need an if statement along the lines of:
if a>pi
then a=a-pi
else print *, a
end if
...But...