How to seperate fractional and decimal part in a real number
I need formula for Modulo, or Fraction
I was wondering, is this even possible? I know there are lot's of solutions for this problem in computer science but is there a solution for this problem in arithmetics?
For example, if it is divisible by two, we can use: X mod 2 = (1+(-1)^(x-1))/2
please help me, or If it does not exist then tell me