Yesterday, nobody contributed anything. :-( The official answer is: x - sqrt(floor(x ^ 2)).