Cody

# Problem 2559. Check that number is whole number

Solution 1742665

Submitted on 5 Mar 2019 by kirti singh
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

### Test Suite

Test Status Code Input and Output
1   Pass
x = 15; y_correct = 1; assert(isequal(your_fcn_name(x),y_correct))

2   Pass
x = 15.25; y_correct = 0; assert(isequal(your_fcn_name(x),y_correct))

3   Pass
x = 10; y_correct = 1; assert(isequal(your_fcn_name(x),y_correct))
{"ft_lang_label":"__label__en","ft_lang_prob":0.5112196,"math_prob":0.9912227,"size":477,"snap":"2019-26-2019-30","text_gpt3_token_len":160,"char_repetition_ratio":0.15856236,"word_repetition_ratio":0.02739726,"special_character_ratio":0.3773585,"punctuation_ratio":0.14772727,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.96589506,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2019-07-20T04:55:36Z\",\"WARC-Record-ID\":\"<urn:uuid:b271b136-a429-4253-84d1-f32f03b7d6d3>\",\"Content-Length\":\"71832\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:2fe0c8ae-71a1-4c0c-8746-3d261564132b>\",\"WARC-Concurrent-To\":\"<urn:uuid:2ae63228-5d2c-4bdd-9742-d3bc15b47417>\",\"WARC-IP-Address\":\"104.117.39.124\",\"WARC-Target-URI\":\"https://fr.mathworks.com/matlabcentral/cody/problems/2559-check-that-number-is-whole-number/solutions/1742665\",\"WARC-Payload-Digest\":\"sha1:WOQDJBKM34STUREZK22DKR2XAHPLDP7L\",\"WARC-Block-Digest\":\"sha1:EXKEDCYBHYHPJW37A7VFPVPB2FKHCK4P\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2019/CC-MAIN-2019-30/CC-MAIN-2019-30_segments_1563195526446.61_warc_CC-MAIN-20190720045157-20190720071157-00350.warc.gz\"}"}