Fix WCF.String.formatNumeric()

Closes #1598