Fixed #21544 Problem with number format when not using L10N

See https://code.djangoproject.com/ticket/21544