bin.alphaDist.isfloat

bin.alphaDist. isfloat ( value ) [source]

Check if variable is of float type or not, return boolean value. This function is mainly use in the makeatomlist() method from the AlphaDist class to loop through every line of the local atom.dat file and store all the atomic data.

Examples

>>> isfloat('13.9854AZ')
False
>>> isfloat('13.9854')
True