If speed is an issue then integer division would be faster than real division then trunc. Sent from my iPhone > On 1 May 2016, at 9:01 PM, RM <richmondmathewson at gmail.com> wrote: > > I have already found a way using 'trunc'