Is it a whole number? – codegolf.stackexchange.com

A number is whole if it is a non-negative integer with no decimal part. So 0 and 8 and 233494.0 are whole, while 1.1 and 0.001 and 233494.999 are not. Input A floating-point number in the default ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "Is it a whole number? – codegolf.stackexchange.com"