{"action":"created","comment":{"url":"https://api.github.com/repos/hyperoslo/NSString-HYPFormula/pulls/comments/25231187","id":25231187,"diff_hunk":"@@ -31,6 +31,11 @@ - (NSString *)hyp_processValuesDictionary:(NSDictionary *)valuesDictionary;\n             NSString *stringValue = (NSString *)value;\n             if (!stringValue || stringValue.length == 0) {\n                 value = (isNumberFormula) ? @\"0\" : @\"\";\n+            } else if ([stringValue containsString:@\"%\"]) {","path":"Source/NSString+HYPFormula.m","position":4,"original_position":4,"commit_id":"d33674dc3b167e9d1739efbdeb1224a80ccee013","original_commit_id":"d33674dc3b167e9d1739efbdeb1224a80ccee013","user":{"login":"zenangst","id":57446,"avatar_url":"https://avatars.githubusercontent.com/u/57446?v=3","gravatar_id":"","url":"https://api.github.com/users/zenangst","html_url":"https://github.com/zenangst","followers_url":"https://api.github.com/users/zenangst/followers","following_url":"https://api.github.com/users/zenangst/following{/other_user}","gists_url":"https://api.github.com/users/zenangst/gists{/gist_id}","starred_url":"https://api.github.com/users/zenangst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zenangst/subscriptions","organizations_url":"https://api.github.com/users/zenangst/orgs","repos_url":"https://api.github.com/users/zenangst/repos","events_url":"https://api.github.com/users/zenangst/events{/privacy}","received_events_url":"https://api.github.com/users/zenangst/received_events","type":"User","site_admin":false},"body":"`containsString` is iOS8+.\r\nHave a look at https://github.com/hyperoslo/NSString-HYPContainsString","created_at":"2015-02-24T06:21:49Z","updated_at":"2015-02-24T06:21:49Z","html_url":"https://github.com/hyperoslo/NSString-HYPFormula/pull/17#discussion_r25231187","pull_request_url":"https://api.github.com/repos/hyperoslo/NSString-HYPFormula/pulls/17","_links":{"self":{"href":"https://api.github.com/repos/hyperoslo/NSString-HYPFormula/pulls/comments/25231187"},"html":{"href":"https://github.com/hyperoslo/NSString-HYPFormula/pull/17#discussion_r25231187"},"pull_request":{"href":"https://api.github.com/repos/hyperoslo/NSString-HYPFormula/pulls/17"}}},"pull_request":{"url":"https://api.github.com/repos/hyperoslo/NSString-HYPFormula/pulls/17","id":29799073,"html_url":"https://github.com/hyperoslo/NSString-HYPFormula/pull/17","diff_url":"https://github.com/hyperoslo/NSString-HYPFormula/pull/17.diff","patch_url":"https://github.com/hyperoslo/NSString-HYPFormula/pull/17.patch","issue_url":"https://api.github.com/repos/hyperoslo/NSString-HYPFormula/issues/17","number":17,"state":"open","locked":false,"title":"Implemented the %","user":{"login":"RamonGilabert","id":6138120,"avatar_url":"https://avatars.githubusercontent.com/u/6138120?v=3","gravatar_id":"","url":"https://api.github.com/users/RamonGilabert","html_url":"https://github.com/RamonGilabert","followers_url":"https://api.github.com/users/RamonGilabert/followers","following_url":"https://api.github.com/users/RamonGilabert/following{/other_user}","gists_url":"https://api.github.com/users/RamonGilabert/gists{/gist_id}","starred_url":"https://api.github.com/users/RamonGilabert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RamonGilabert/subscriptions","organizations_url":"https://api.github.com/users/RamonGilabert/orgs","repos_url":"https://api.github.com/users/RamonGilabert/repos","events_url":"https://api.github.com/users/RamonGilabert/events{/privacy}","received_events_url":"https://api.github.com/users/RamonGilabert/received_events","type":"User","site_admin":false},"body":"Done two tests to try it, one with int values and the other with float values! :dancer: ","created_at":"2015-02-23T10:44:16Z","updated_at":"2015-02-24T06:21:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bbb0488aa1ad6bdde2501a69ce4588856bcc5dea","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hyperoslo/NSString-HYPFormula/pulls/17/commits","review_comments_url":"https://api.github.com/repos/hyperoslo/NSString-HYPFormula/pulls/17/comments","review_comment_url":"https://api.github.com/repos/hyperoslo/NSString-HYPFormula/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hyperoslo/NSString-HYPFormula/issues/17/comments","statuses_url":"https://api.github.com/repos/hyperoslo/NSString-HYPFormula/statuses/d33674dc3b167e9d1739efbdeb1224a80ccee013","head":{"label":"RamonGilabert:Percentage","ref":"Percentage","sha":"d33674dc3b167e9d1739efbdeb1224a80ccee013","user":{"login":"RamonGilabert","id":6138120,"avatar_url":"https://avatars.githubusercontent.com/u/6138120?v=3","gravatar_id":"","url":"https://api.github.com/users/RamonGilabert","html_url":"https://github.com/RamonGilabert","followers_url":"https://api.github.com/users/RamonGilabert/followers","following_url":"https://api.github.com/users/RamonGilabert/following{/other_user}","gists_url":"https://api.github.com/users/RamonGilabert/gists{/gist_id}","starred_url":"https://api.github.com/users/RamonGilabert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RamonGilabert/subscriptions","organizations_url":"https://api.github.com/users/RamonGilabert/orgs","repos_url":"https://api.github.com/users/RamonGilabert/repos","events_url":"https://api.github.com/users/RamonGilabert/events{/privacy}","received_events_url":"https://api.github.com/users/RamonGilabert/received_events","type":"User","site_admin":false},"repo":{"id":31202717,"name":"NSString-HYPFormula","full_name":"RamonGilabert/NSString-HYPFormula","owner":{"login":"RamonGilabert","id":6138120,"avatar_url":"https://avatars.githubusercontent.com/u/6138120?v=3","gravatar_id":"","url":"https://api.github.com/users/RamonGilabert","html_url":"https://github.com/RamonGilabert","followers_url":"https://api.github.com/users/RamonGilabert/followers","following_url":"https://api.github.com/users/RamonGilabert/following{/other_user}","gists_url":"https://api.github.com/users/RamonGilabert/gists{/gist_id}","starred_url":"https://api.github.com/users/RamonGilabert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RamonGilabert/subscriptions","organizations_url":"https://api.github.com/users/RamonGilabert/orgs","repos_url":"https://api.github.com/users/RamonGilabert/repos","events_url":"https://api.github.com/users/RamonGilabert/events{/privacy}","received_events_url":"https://api.github.com/users/RamonGilabert/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/RamonGilabert/NSString-HYPFormula","description":"Creating and running string-based formulas have never been this easy","fork":true,"url":"https://api.github.com/repos/RamonGilabert/NSString-HYPFormula","forks_url":"https://api.github.com/repos/RamonGilabert/NSString-HYPFormula/forks","keys_url":"https://api.github.com/repos/RamonGilabert/NSString-HYPFormula/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RamonGilabert/NSString-HYPFormula/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RamonGilabert/NSString-HYPFormula/teams","hooks_url":"https://api.github.com/repos/RamonGilabert/NSString-HYPFormula/hooks","issue_events_url":"https://api.github.com/repos/RamonGilabert/NSString-HYPFormula/issues/events{/number}","events_url":"https://api.github.com/repos/RamonGilabert/NSString-HYPFormula/events","assignees_url":"https://api.github.com/repos/RamonGilabert/NSString-HYPFormula/assignees{/user}","branches_url":"https://api.github.com/repos/RamonGilabert/NSString-HYPFormula/branches{/branch}","tags_url":"https://api.github.com/repos/RamonGilabert/NSString-HYPFormula/tags","blobs_url":"https://api.github.com/repos/RamonGilabert/NSString-HYPFormula/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RamonGilabert/NSString-HYPFormula/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RamonGilabert/NSString-HYPFormula/git/refs{/sha}","trees_url":"https://api.github.com/repos/RamonGilabert/NSString-HYPFormula/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RamonGilabert/NSString-HYPFormula/statuses/{sha}","languages_url":"https://api.github.com/repos/RamonGilabert/NSString-HYPFormula/languages","stargazers_url":"https://api.github.com/repos/RamonGilabert/NSString-HYPFormula/stargazers","contributors_url":"https://api.github.com/repos/RamonGilabert/NSString-HYPFormula/contributors","subscribers_url":"https://api.github.com/repos/RamonGilabert/NSString-HYPFormula/subscribers","subscription_url":"https://api.github.com/repos/RamonGilabert/NSString-HYPFormula/subscription","commits_url":"https://api.github.com/repos/RamonGilabert/NSString-HYPFormula/commits{/sha}","git_commits_url":"https://api.github.com/repos/RamonGilabert/NSString-HYPFormula/git/commits{/sha}","comments_url":"https://api.github.com/repos/RamonGilabert/NSString-HYPFormula/comments{/number}","issue_comment_url":"https://api.github.com/repos/RamonGilabert/NSString-HYPFormula/issues/comments{/number}","contents_url":"https://api.github.com/repos/RamonGilabert/NSString-HYPFormula/contents/{+path}","compare_url":"https://api.github.com/repos/RamonGilabert/NSString-HYPFormula/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RamonGilabert/NSString-HYPFormula/merges","archive_url":"https://api.github.com/repos/RamonGilabert/NSString-HYPFormula/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RamonGilabert/NSString-HYPFormula/downloads","issues_url":"https://api.github.com/repos/RamonGilabert/NSString-HYPFormula/issues{/number}","pulls_url":"https://api.github.com/repos/RamonGilabert/NSString-HYPFormula/pulls{/number}","milestones_url":"https://api.github.com/repos/RamonGilabert/NSString-HYPFormula/milestones{/number}","notifications_url":"https://api.github.com/repos/RamonGilabert/NSString-HYPFormula/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RamonGilabert/NSString-HYPFormula/labels{/name}","releases_url":"https://api.github.com/repos/RamonGilabert/NSString-HYPFormula/releases{/id}","created_at":"2015-02-23T10:13:03Z","updated_at":"2015-02-23T10:13:03Z","pushed_at":"2015-02-23T10:41:58Z","git_url":"git://github.com/RamonGilabert/NSString-HYPFormula.git","ssh_url":"git@github.com:RamonGilabert/NSString-HYPFormula.git","clone_url":"https://github.com/RamonGilabert/NSString-HYPFormula.git","svn_url":"https://github.com/RamonGilabert/NSString-HYPFormula","homepage":"http://hyper.no","size":159,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"hyperoslo:master","ref":"master","sha":"30f336adde1ca67e8e0f33d5c58d5d98431f56e4","user":{"login":"hyperoslo","id":1340892,"avatar_url":"https://avatars.githubusercontent.com/u/1340892?v=3","gravatar_id":"","url":"https://api.github.com/users/hyperoslo","html_url":"https://github.com/hyperoslo","followers_url":"https://api.github.com/users/hyperoslo/followers","following_url":"https://api.github.com/users/hyperoslo/following{/other_user}","gists_url":"https://api.github.com/users/hyperoslo/gists{/gist_id}","starred_url":"https://api.github.com/users/hyperoslo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyperoslo/subscriptions","organizations_url":"https://api.github.com/users/hyperoslo/orgs","repos_url":"https://api.github.com/users/hyperoslo/repos","events_url":"https://api.github.com/users/hyperoslo/events{/privacy}","received_events_url":"https://api.github.com/users/hyperoslo/received_events","type":"Organization","site_admin":false},"repo":{"id":25171085,"name":"NSString-HYPFormula","full_name":"hyperoslo/NSString-HYPFormula","owner":{"login":"hyperoslo","id":1340892,"avatar_url":"https://avatars.githubusercontent.com/u/1340892?v=3","gravatar_id":"","url":"https://api.github.com/users/hyperoslo","html_url":"https://github.com/hyperoslo","followers_url":"https://api.github.com/users/hyperoslo/followers","following_url":"https://api.github.com/users/hyperoslo/following{/other_user}","gists_url":"https://api.github.com/users/hyperoslo/gists{/gist_id}","starred_url":"https://api.github.com/users/hyperoslo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyperoslo/subscriptions","organizations_url":"https://api.github.com/users/hyperoslo/orgs","repos_url":"https://api.github.com/users/hyperoslo/repos","events_url":"https://api.github.com/users/hyperoslo/events{/privacy}","received_events_url":"https://api.github.com/users/hyperoslo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hyperoslo/NSString-HYPFormula","description":"Creating and running string-based formulas have never been this easy","fork":false,"url":"https://api.github.com/repos/hyperoslo/NSString-HYPFormula","forks_url":"https://api.github.com/repos/hyperoslo/NSString-HYPFormula/forks","keys_url":"https://api.github.com/repos/hyperoslo/NSString-HYPFormula/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hyperoslo/NSString-HYPFormula/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hyperoslo/NSString-HYPFormula/teams","hooks_url":"https://api.github.com/repos/hyperoslo/NSString-HYPFormula/hooks","issue_events_url":"https://api.github.com/repos/hyperoslo/NSString-HYPFormula/issues/events{/number}","events_url":"https://api.github.com/repos/hyperoslo/NSString-HYPFormula/events","assignees_url":"https://api.github.com/repos/hyperoslo/NSString-HYPFormula/assignees{/user}","branches_url":"https://api.github.com/repos/hyperoslo/NSString-HYPFormula/branches{/branch}","tags_url":"https://api.github.com/repos/hyperoslo/NSString-HYPFormula/tags","blobs_url":"https://api.github.com/repos/hyperoslo/NSString-HYPFormula/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hyperoslo/NSString-HYPFormula/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hyperoslo/NSString-HYPFormula/git/refs{/sha}","trees_url":"https://api.github.com/repos/hyperoslo/NSString-HYPFormula/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hyperoslo/NSString-HYPFormula/statuses/{sha}","languages_url":"https://api.github.com/repos/hyperoslo/NSString-HYPFormula/languages","stargazers_url":"https://api.github.com/repos/hyperoslo/NSString-HYPFormula/stargazers","contributors_url":"https://api.github.com/repos/hyperoslo/NSString-HYPFormula/contributors","subscribers_url":"https://api.github.com/repos/hyperoslo/NSString-HYPFormula/subscribers","subscription_url":"https://api.github.com/repos/hyperoslo/NSString-HYPFormula/subscription","commits_url":"https://api.github.com/repos/hyperoslo/NSString-HYPFormula/commits{/sha}","git_commits_url":"https://api.github.com/repos/hyperoslo/NSString-HYPFormula/git/commits{/sha}","comments_url":"https://api.github.com/repos/hyperoslo/NSString-HYPFormula/comments{/number}","issue_comment_url":"https://api.github.com/repos/hyperoslo/NSString-HYPFormula/issues/comments{/number}","contents_url":"https://api.github.com/repos/hyperoslo/NSString-HYPFormula/contents/{+path}","compare_url":"https://api.github.com/repos/hyperoslo/NSString-HYPFormula/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hyperoslo/NSString-HYPFormula/merges","archive_url":"https://api.github.com/repos/hyperoslo/NSString-HYPFormula/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hyperoslo/NSString-HYPFormula/downloads","issues_url":"https://api.github.com/repos/hyperoslo/NSString-HYPFormula/issues{/number}","pulls_url":"https://api.github.com/repos/hyperoslo/NSString-HYPFormula/pulls{/number}","milestones_url":"https://api.github.com/repos/hyperoslo/NSString-HYPFormula/milestones{/number}","notifications_url":"https://api.github.com/repos/hyperoslo/NSString-HYPFormula/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hyperoslo/NSString-HYPFormula/labels{/name}","releases_url":"https://api.github.com/repos/hyperoslo/NSString-HYPFormula/releases{/id}","created_at":"2014-10-13T18:11:55Z","updated_at":"2015-02-23T23:01:06Z","pushed_at":"2015-02-02T10:31:22Z","git_url":"git://github.com/hyperoslo/NSString-HYPFormula.git","ssh_url":"git@github.com:hyperoslo/NSString-HYPFormula.git","clone_url":"https://github.com/hyperoslo/NSString-HYPFormula.git","svn_url":"https://github.com/hyperoslo/NSString-HYPFormula","homepage":"http://hyper.no","size":488,"stargazers_count":3,"watchers_count":3,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":4,"forks":2,"open_issues":4,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hyperoslo/NSString-HYPFormula/pulls/17"},"html":{"href":"https://github.com/hyperoslo/NSString-HYPFormula/pull/17"},"issue":{"href":"https://api.github.com/repos/hyperoslo/NSString-HYPFormula/issues/17"},"comments":{"href":"https://api.github.com/repos/hyperoslo/NSString-HYPFormula/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/hyperoslo/NSString-HYPFormula/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/hyperoslo/NSString-HYPFormula/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hyperoslo/NSString-HYPFormula/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/hyperoslo/NSString-HYPFormula/statuses/d33674dc3b167e9d1739efbdeb1224a80ccee013"}}}}