FedoraForum.org - Fedora Support Forums and Community
Results 1 to 10 of 10
  1. #1
    Join Date
    Nov 2006
    Location
    Detroit
    Posts
    6,706

    Finally, a way to check if a number equals 13

    This changes everything: https://github.com/jezen/is-thirteen

    is-thirteen

    An npm package to check if a number is equal to 13.
    I can't tell you how many times I've needed something like this. Thanks to this Node.js package, my wish has come true.
    Last edited by RupertPupkin; 30th March 2018 at 03:19 AM.
    OS: Fedora 27 x86_64 | Machine: HP Pavilion a6130n | CPU: AMD 64 X2 Dual-Core 5000+ 2.6GHz | RAM: 7GB PC5300 DDR2 | Disk: 400GB SATA | Video: ATI Radeon HD 4350 512MB | Sound: Realtek ALC888S | Ethernet: Realtek RTL8201N

  2. #2
    Join Date
    Dec 2013
    Location
    United Kingdom
    Posts
    5,872

    Re: Finally, a way to check if a number equals 13

    Thanks for sharing, I've really been struggling without it too...

  3. #3
    Join Date
    Oct 2010
    Location
    Canberra
    Posts
    2,865

    Re: Finally, a way to check if a number equals 13

    For something that at first glance seems trivial they put quite a lot of work into it - have a read through the consts.js file.

    User error. Please replace user and try again

  4. #4
    Join Date
    Dec 2013
    Location
    United Kingdom
    Posts
    5,872

    Re: Finally, a way to check if a number equals 13

    i think it may have been a school project to learn about programming and publishing code to github

  5. #5
    Join Date
    Mar 2004
    Location
    In your closet
    Posts
    15,685

    Re: Finally, a way to check if a number equals 13

    Should have just asked me. I can tell with a glance if a number is 13 or not. What's all the hoopla?
    Glenn
    The Bassinator

  6. #6
    Join Date
    Dec 2013
    Location
    United Kingdom
    Posts
    5,872

    Re: Finally, a way to check if a number equals 13

    I was led to believe the answer to everything is 42

  7. #7
    Join Date
    Nov 2006
    Location
    Detroit
    Posts
    6,706

    Re: Finally, a way to check if a number equals 13

    Quote Originally Posted by glennzo
    Should have just asked me. I can tell with a glance if a number is 13 or not. What's all the hoopla?
    OK, smartypants, tell me just by looking if this number equals 13: 2561/197

    How about this number?: 3637/279

    OS: Fedora 27 x86_64 | Machine: HP Pavilion a6130n | CPU: AMD 64 X2 Dual-Core 5000+ 2.6GHz | RAM: 7GB PC5300 DDR2 | Disk: 400GB SATA | Video: ATI Radeon HD 4350 512MB | Sound: Realtek ALC888S | Ethernet: Realtek RTL8201N

  8. #8
    Join Date
    Nov 2006
    Location
    Detroit
    Posts
    6,706

    Re: Finally, a way to check if a number equals 13

    Quote Originally Posted by antikythera
    I was led to believe the answer to everything is 42
    Someone lied to you, because 42 is neither 13 nor divisible by 13.
    OS: Fedora 27 x86_64 | Machine: HP Pavilion a6130n | CPU: AMD 64 X2 Dual-Core 5000+ 2.6GHz | RAM: 7GB PC5300 DDR2 | Disk: 400GB SATA | Video: ATI Radeon HD 4350 512MB | Sound: Realtek ALC888S | Ethernet: Realtek RTL8201N

  9. #9
    Join Date
    Dec 2013
    Location
    United Kingdom
    Posts
    5,872

    Re: Finally, a way to check if a number equals 13

    Quote Originally Posted by RupertPupkin
    Someone lied to you, because 42 is neither 13 nor divisible by 13.
    well it's the answer to the ultimate question of life, the universe, and everything according to Deep Thought

  10. #10
    Join Date
    Jun 2013
    Location
    USA
    Posts
    372

    Re: Finally, a way to check if a number equals 13

    I'm glad to read they support a comparison-against-twelve-free experience for all. Such compassionate and inclusive coders. Or are they in fact unfairly biased against 12?
    Mind the gap.

Similar Threads

  1. [SOLVED]
    find files with modification time equals Access time
    By deadpixel in forum Using Fedora
    Replies: 3
    Last Post: 13th January 2014, 09:14 PM
  2. [SOLVED]
    BASH: Variable equals formated date?
    By sea in forum Programming & Packaging
    Replies: 3
    Last Post: 4th August 2011, 10:59 AM
  3. Release number trumps Version number ?
    By PabloTwo in forum Programming & Packaging
    Replies: 0
    Last Post: 3rd June 2010, 05:39 PM
  4. Less choice equals more satisfaction
    By Wayne in forum Wibble
    Replies: 17
    Last Post: 13th April 2007, 05:28 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •