question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Is there a way for making the abbreviations with capital Letters?

See original GitHub issue

Hi,

I wanted these 10M not 10m and 10K not 10k. Is there a way for this?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:8

github_iconTop GitHub Comments

17reactions
NouranMahmoudcommented, Feb 2, 2018

So, we will need to re-write our locale files? I wanted a way to change the abbreviations out of the box actually. I will make a PR for this if there is no way other than this.

I’d propose changing this through the .format function like the followings:-

  • .format('0.0a) (a) for small letters and .format('0.0A') (A) for capital letters.

What do you think?

1reaction
Standaacommented, Oct 5, 2020

As pointed out by @khan4019 this is a convention problem. While easy to fix in css, I feel like this should be OOB in the library as it is breaking existing international conventions. An easy fix would be defaulting to the convention rather than displaying everything lowercase.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Capital Letters in Acronyms and Abbreviations | Editor's Manual
In general, avoid capitalizing the full form of an abbreviation, unless it contains a proper noun or proper adjective. Do capitalize the full ......
Read more >
Capitalization When Defining Abbreviations - AJE
Because the abbreviation is composed of capital letters, many writers believe that the full words that define the abbreviation should be capitalized as...
Read more >
Capital Letters and Abbreviations - University of Sussex
Some people choose to capitalize them anyway; this is not wrong, but it's not recommended. Capital letters are also used in writing certain...
Read more >
Abbreviations and how to write them
Pronounceable abbreviations that are made up of bits of words should be written as proper nouns, ie, with an initial capital letter. Examples...
Read more >
Abbreviations - Other APA Guidelines - Academic Guides
Simply add an “s” to an abbreviation to make it plural. (Do not add an apostrophe.) I work with five other RNs during...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found