Skip to content
This repository has been archived by the owner on Feb 10, 2022. It is now read-only.

Ink Recognizer - Set US Culture to get correct decimal separator #94

Merged
merged 1 commit into from
Dec 12, 2019

Conversation

sammydeprez
Copy link
Contributor

@sammydeprez sammydeprez commented Nov 27, 2019

The Ink Recognizer is throwing errors when your local culture does not have the '.' point as a decimal seperator. Json polygon data looks like this then:
12,1234566,34,567890
Which is not valid for the API, it needs to be
12.1234566,34.567890

This can be fixed by setting a US culture.

Depending on your culture you might get a comma (,) as a decimal separator.
This breaks the request to the API. By making use of a fixed culture the comma separator will be point (.)
@sammydeprez sammydeprez changed the title Set US Culture to get correct decimal separator Ink Recognizer - Set US Culture to get correct decimal separator Nov 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants