Skip to content

Comma instead of a period #118

Open
Open
@Dilise

Description

@Dilise

Добрый день!
Прошу добавить обработку запятой в числах в функцию computeTotal, так как в русском языке используется запятая вместо точки. Спасибо.
(Google translate):
"I ask you to add processing comma in numbers to the computeTotal function, since in Russian a comma is used instead of a period. Thank."

$('#board .list-total .'+attr).each(function(){ score+=parseFloat(this.textContent.replace(/,/, '.'))||0; });

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