Post Reply 
Numworks - Question about frac()
03-03-2023, 06:03 PM
Post: #4
RE: Numworks - Question about frac()
Bonjour à toutes et tous,

As a French company based in Paris, Numworks mainly targets the French market and its calculator is particularly suitable for the intended use in our schools.

Therefore, the function \( frac(x) \) corresponds to the definition of the fractional part of the number x and should not be confused with the function giving the decimal part of a number.

Therefore, for any real \(x\), positive or negative, its definition corresponds to \( frac(x)= x - \left \lfloor x\right \rfloor \)

The fractional part of the number \(x\) is therefore always a positive number and is zero only when x is an integer.

For negative real numbers \(x\), \( frac(x) \) will therefore be positive and corresponds to the 1's complement of the decimal part of the number \(x\).


Par exemple:
\( \begin{matrix}frac(-3,85)&=&(-3,85)&-&\left\lfloor-3,85\right\rfloor\\&=&(-3,85)&-&(-4)\\&=&(-3,85)&+&4\\&=&4&-&3,85\\&=&0,15\\\end{matrix} \)



In English, frac(x) can designate the decimal part of a number, which explains why sites corresponding to other standards give a different result.

Hope, this help a bit.
C.Ret
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Numworks - Question about frac() - Pälzer - 03-02-2023, 11:45 PM
RE: Numworks - Question about frac() - rkf - 03-03-2023, 08:16 AM
RE: Numworks - Question about frac() - C.Ret - 03-03-2023 06:03 PM



User(s) browsing this thread: 1 Guest(s)