fix number format of magento with black magic (regex)

fixes #101 with black magic aka regex. I don't see another solution (alternative is to rewrite the core)