Finally, a way to check if a number equals 13
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 10 of 10
  1. #1
    Join Date
    Nov 2006
    Location
    Detroit
    Posts
    6,741

    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 29 x86_64 | Machine: Lenovo ThinkCentre M91P | CPU: Intel Core i5-2500 3.30GHz | RAM: 8GB PC3-12800 DDR3 | Disk: 500GB SATA | Video: Intel HD Graphics 2000 128MB | Sound: Realtek ALC662 | Ethernet: Intel 82579LM

  2. #2
    Join Date
    Dec 2013
    Location
    United Kingdom
    Posts
    6,602

    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
    3,016

    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
    6,602

    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,738

    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
    6,602

    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,741

    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 29 x86_64 | Machine: Lenovo ThinkCentre M91P | CPU: Intel Core i5-2500 3.30GHz | RAM: 8GB PC3-12800 DDR3 | Disk: 500GB SATA | Video: Intel HD Graphics 2000 128MB | Sound: Realtek ALC662 | Ethernet: Intel 82579LM

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

    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 29 x86_64 | Machine: Lenovo ThinkCentre M91P | CPU: Intel Core i5-2500 3.30GHz | RAM: 8GB PC3-12800 DDR3 | Disk: 500GB SATA | Video: Intel HD Graphics 2000 128MB | Sound: Realtek ALC662 | Ethernet: Intel 82579LM

  9. #9
    Join Date
    Dec 2013
    Location
    United Kingdom
    Posts
    6,602

    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
    374

    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?
    When professors and janitors begin working for free you can have your free education.

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
  •