Skip to content

Xamarin parsing decimal units is locale dependent #104

@michelevirgilio

Description

@michelevirgilio

Hi,
by creating a rule with decimal value, for example

.somerule {
    BorderWidth: 1.3;
}

the resulting value is dependent on system locale, i.e. for an English device, you will have 1.3, on an Italian device, you will get 13.
I suspect that the value is parsed according system locale, but it should be cultureinvariant.

Thanks

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