How to make numbers like 4,6 to 0,6 and 5,3 to 0,3 with a mathematical formula using only "classic" math?

Newuserorsomething
Mar 9, 2017

#1

#4**0 **

The only number I got to do math with is 4,6

Nothing more

I can't choose which part of the number or anything like that, so I'm looking for a formula which does something like that

Newuserorsomething
Mar 9, 2017

#2**0 **

**How to make numbers like 4,6 to 0,6 and 5,3 to 0,3 with a mathematical formula using only "classic" math?**

4,6 mod 1 = 0,6

5,3 mod 1 = 0,3

heureka
Mar 9, 2017

#3**0 **

Thank you, but modulo does not include in the "clasic" math I was thinking about, more along the lines of * / + 1 ^

I could do modulo manually if I had a method of flooring the number, but then I could just do it directly anyways :/

Thanks thought

Newuserorsomething
Mar 9, 2017