This is kind of related to my previous question, but not really. I have an input of which I don't know the culture. So it can both use ',' and '.' as separator for the fraction. The number will never be >5 though, so we can be rather sure if there's a separator, it will be for the fraction.
I was looking at the TryParse
method. It accepts a NumberStyles
argument. But I don't see anything about fraction separator or the like..
Am I missing something again or is there a better way to reach my goal?