On Thursday, 3 September 2015 at 10:52:39 UTC, Namal wrote: > Hello, > > is there a modf function like in C++ or something similar which > could help me find out if a double has a fractional part or not. > > Thx http://dlang.org/phobos/std_math.html#.modf