rclabo commented on issue #629: URL: https://github.com/apache/lucenenet/issues/629#issuecomment-1081833717
@NightOwl888 >Do note that some cultures use alternate characters for the negative sign. So, for int.Parse() and long.Parse(), passing CultureInfo.InvariantCulture may be required if the input may contain negative numbers that don't match the culture of the current thread. Wouldn't you have to pass the `CultureInfo` for that culture in order for the `Parse()` method to correctly know how the negative number is represented? Seems like `CultureInfo.InvariantCulture` wouldn't contain that info? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
