Hi
I'm writing some code to calculate the phase of some data. The calculation is (X-Y)/Z but the phase is only the remainder of the number... E.G. If the calculation worked out to be 2.543 then the phase is 0.543. Is there anyway of getting just the part of a number past the decimal point?
I apologise if there is a simple solution to this but I only started learning perl yesterday!
Thanks in advance