Hi all im trying to check a integer which must contain a decimal point is there any function which does this!!!
Example : 21.000
Hi all im trying to check a integer which must contain a decimal point is there any function which does this!!!
Example : 21.000
There is no desimals in integer... period
Making error is human, but for messing things thoroughly it takes a computer
For decimals always use float
Code:float number; number=21.1234; cout<<number;
C++ Is Powerful
I use C++
There fore I am Powerful
Oh yeah... I forgot thatFor decimals always use float
Making error is human, but for messing things thoroughly it takes a computer