On Fri, Oct 21, 2016 at 5:09 AM, Zhongzheng Liu <liuzhongzheng2012@REDACTED> wrote: > Hi mail-list: > > How to calculate fmod in Erlang ? fmod(a, b) -> a - trunc(a/b) * b.