From @freshe on July 8, 2018 13:59
When doing ToString() on a C# Double in an MVC View i get different behaviour on Mac vs Windows.
On Windows i get the expected result on negative numbers where ToString() yields a "proper" minus sign that JavaScript can handle.
On Mac i instead get a dash/hyphen (long minus) that breaks the JavaScript code.
Win -
Mac −
Copied from original issue: aspnet/Mvc#8032