I understand this is an opinion kind of a question...but still:
Well I know that $\operatorname{frac(x)}$ or $\{x\}$ stands for the fractional part of $x$ but how is it exactly defined?
Quoting Wikipedia exactly:
The fractional part of a non‐negative real number $x$ is the excess beyond that number integer part: $\operatorname{frac} (x)=x - \lfloor x \rfloor,\; x > 0$.
There are various conflicting ways to extend the fractional part function to negative numbers. It is either defined as $$\operatorname{frac} (x)=x-\lfloor x \rfloor\tag{1}$$as the part of the number to the right of the radix point, $$\operatorname{frac} (x)=|x|-\lfloor |x| \rfloor\tag{2}$$or as the odd function:
$$\operatorname{frac} (x)=\begin{cases} x - \lfloor x \rfloor & x \ge 0 \\ x - \lceil x \rceil & x < 0 \end{cases}\tag{3}$$
For example, the number −1.3 has a fractional part of 0.7 according to the first definition, 0.3 according to the second definition and −0.3 according to the third definition.
So it is giving 3 possible candidates...Which one is correct ... or better, which one is used more?
Also why does such type of confusion remain in mathematics?
(For me , I like the $3^{\text{rd}}$ one more!)