nfsen-ng icon indicating copy to clipboard operation
nfsen-ng copied to clipboard

Please don't use "B" as unit prefix for "Billion" but use "G" for "Giga"

Open xtaran opened this issue 2 years ago • 1 comments

nfsen-ng seems to use a mix of standard and non-standard unit prefixes:

  • K for kilo (should be lower case though to be a proper prefix)
  • M for Mega or Million (ok)
  • B for probably Billion (but should be "G" for "Giga")

Later ones should be (but are probably not):

  • T for Tera
  • P for Peta
  • E for Exa

etc. See https://en.wikipedia.org/wiki/Unit_prefix

xtaran avatar Apr 14 '22 10:04 xtaran

There is an option in the graphing library to try out:

Is it better after replacing labelsKMB with labelsKMG2? https://github.com/mbolli/nfsen-ng/blob/b425d55cabe1e21803353db4d5b0299e376c2de6/frontend/js/nfsen-ng.js#L696

mbolli avatar Apr 14 '22 13:04 mbolli

fixed in 3628bd3580b09bc7c6c1f017e5f2296e913b8d5d (not yet in master)

mbolli avatar Jan 11 '24 18:01 mbolli