How to find modulo of negative floating point number?

60 Views Asked by At

I'm studying Hill Cipher and I tried to calculate the key. here's the problem

The problem is I get -ve floating point numbers. How can I get the mod 26 of them?

For example, what's the value of (-11/121) mod 26?