Skip to content

Decimal symbol #9

@Inkosi

Description

@Inkosi

HI,

First of all great work and it help me a lot, but i think that i found an issue.
You are only assuming that the decimal symbol is '.' but it can be also ',' (European countries use this symbol)
So in the method ParsePriceAsync, inside Historical class, when you call Convert.ToDouble it will raise an exception. Before the cycle 'For' you need to add this line to don't have any problem with the decimal symbol
Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions