Skip to content

Javascript Library to check whether the given number is decimal or not

Notifications You must be signed in to change notification settings

slacker07/is-it-decimal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

is-it-decimal

Returns true if the number passed is Decimal, otherwise returns false (-_-)

Simple, yet another JS library to make your lazy life more lazier.

Install with npm

$ npm install --save is-it-decimal

Usage

Works with numbers. Just do as the docs say

const { isItDecimal } = require('is-it-decimal');

console.log(isItDecimal(10.01)) //->> true

console.log(isItDecimal(10.0)) //->> false

console.log(isItDecimal(10)) //->> false

console.log(isItDecimal(0)) //->> false

##Licence

Do whatever you want with it, hell yeah its FREE.

Made with stupidity

About

Javascript Library to check whether the given number is decimal or not

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published