Hey deniswazere
I know how you feel. I'm in college now and I am a Mathematics major. Before I was diagnosed, I took on too many courses at once and failed Calculus 2. Even after I failed, I didn't realize I was "sick" until I re-took the course again in the Spring and got a 3% on my exam. I don't know what took me so long to realize.. but after coming out of the psychiatric emergency room, I withdrew from school for a semester and went into intensive outpatient treatment.
When I got a bit better, I took Calculus 2 for a third time and finally got an A. I didn't want to give up because I really like Mathematics and I really wanted to prove to myself that I could get through this difficult time. I'm glad I did, and now I'm back in university as a full-time student.
deniswazere, I really hope you will be able to find what works for you. And if you ever need any help with mathematics studies, let me know. I've found a lot of study sites and ways that can really help even if it's last minute stuff.