+ 1

How can i check if there is any digits in exact number?

Though I can use ispunct() function, but it is only for string or characters.

20th Aug 2018, 12:37 PM
Oleg Storm
Oleg Storm - avatar
6 Respostas
+ 7
n != (int) n
20th Aug 2018, 12:57 PM
Eduardo Petry
Eduardo Petry - avatar
+ 1
Oleg Storm do you wish to check whether is there any digit (0 to 9 ) in string or not... is my understanding correct?
20th Aug 2018, 1:43 PM
Ketan Lalcheta
Ketan Lalcheta - avatar
+ 1
Ketan, thanks but that doesn't what i want☺
20th Aug 2018, 1:51 PM
Oleg Storm
Oleg Storm - avatar
+ 1
Ketan, I'm done, thanks🤗
20th Aug 2018, 1:53 PM
Oleg Storm
Oleg Storm - avatar
+ 1
yup.. that I checked as you have already marked answer as best answer...
20th Aug 2018, 2:04 PM
Ketan Lalcheta
Ketan Lalcheta - avatar
0
so, could you please let me know what you are trying to ask?
20th Aug 2018, 1:52 PM
Ketan Lalcheta
Ketan Lalcheta - avatar