Belz...
Fiend God
Sure it can. Just try reading up on Plato or the Pythagoreans, for instance. I'm not saying that is how mathematics is practiced today, but I think we do a disservice to both math and philosophy if we don't at least acknowledge some of the relevant historical and philosophical context.
Can you summarise how math has philosophical grounding ? Maybe I just don't understand what you mean by it.