fix FormatException in formula parser

NumberPtg's constructor calls Double.Parse with current culture, so I got FormatException here.