GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — toLocaleString() doesn't localise the number · Issue #8249 · NativeScript/NativeScript Closed Labels DescriptionEnvironment
I'm running the latest version of everything (the project is a month old), but couldn't find any version numbers matching the mentioned packages in with either Describe the bug To format nice readable numbers all modern browsers support the function To Reproduce const someNumber = 1337.4242 const formattedNumber = someNumber.toLocaleString('en', {maximumFractionDigits: 2}) Expected behavior Sample project I don't have a sample project, but expect the behaviour to be the same in alle projects. Additional context We could implement a formatting function ourself, but because of code sharing between projects, it would also mean that this custom formatter would be used in our web based projects, which seems a bit silly, since the browsers already know how to format numbers. Documentation for the browser implementation can be found here: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/toLocaleString Activity
MetadataMetadataAssigneesLabelsTypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |