You need to sign in or sign up before continuing.

Don't use toLocaleString for numbers

parent 8b5dac56
{
"name": "ed3-format-default",
"version": "0.2.4",
"version": "0.2.5",
"description": "Default format for ed3 library",
"main": "index.js",
"scripts": {
......
......@@ -58,5 +58,5 @@ export function basicFormat(x){
return x.toExponential();
}
return x.toLocaleString(); // for proper decimal separator
return x.toString();
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment