.isfloat - macmcmeans/localDataStorage GitHub Wiki
localDataStorage.isfloat( keyName )
This method checks the data type of the value stored under keyName to determine if it's a Number containing a decimal point, and returns true or false.
EXAMPLE:
● localData.set( 'key2', 1200.0047 ) ● localData.isfloat( 'key2' ) --> true
You can also check whether a key value is an integer, or just a number.
🏿 The corresponding Memory Key method is _isfloat.
📝 NOTE: While JavaScript itself has no bona fide primitives of integer or float (these are both Numbers), localDataStorage will let you recognize the distinction.