Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Hello pitieu,
The sentence means, that the method/function can receive decimal numbers and if that would be the case then, it should return true only if the number (the decimal number that the method/function has received) is equal to its integer part and that integer part is odd.
About your other question with the decimal number, this should be the returned value of the method:
1.1 ->
false
7.7 ->
false
7.77 ->
false
1.01 ->
false
1.10 ->
false
1.12 ->
false
7.17 ->
false
This will return
true
1.0
-5.0
-9.00
Hope the answer could help you!
Have a good day.
But there is a honor restriction as well, IIRC.
Go to http://www.codewars.com/kata/new.