Skip to content

BPM parsing is culture sensitive #236

@powercode

Description

@powercode
!double.TryParse(textAsString,  out var result )

is used to parse BeatsPerMinute

!double.TryParse(textAsString, NumberStyles.AllowDecimalPoint, CultureInfo.InvariantCulture, out var result )

Should probably be used, since the parsing will fail on cultures that have a comma , as decimal separator.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions