• 404@lemmy.zip
    link
    fedilink
    English
    arrow-up
    13
    ·
    edit-2
    2 days ago

    In properly formatted text, you use en dash for ranges.

    En dash: 20–40

    Hyphen: 20-40

    Some (most?) modern text editors will substitute two hyphens with an en dash, so you can easily generate them by typing --.

    (I get your point though! Just wanted to point out that there are much nicer and more appropriate glyphs than the hyphen.)

    • otp@sh.itjust.works
      link
      fedilink
      arrow-up
      1
      ·
      37 minutes ago

      Even with the en dash, it looks like subtraction to me! Haha

      An em dash wouldn’t, but that would also probably be too wide

    • Classy@sh.itjust.works
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      1 day ago

      En dash is very useful for

      Dates (3–20–25)
      Subtraction (although I think math script uses its own unique dash?) (7 – 1 = 6)
      Value ranges ($20–40)

      Then of course there’s the beautiful—and slightly different—em dash!