{"action":"created","issue":{"url":"https://api.github.com/repos/RickCHodgin/libsf/issues/13","labels_url":"https://api.github.com/repos/RickCHodgin/libsf/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/RickCHodgin/libsf/issues/13/comments","events_url":"https://api.github.com/repos/RickCHodgin/libsf/issues/13/events","html_url":"https://github.com/RickCHodgin/libsf/pull/13","id":63529042,"number":13,"title":"VAL() function","user":{"login":"damste","id":11377525,"avatar_url":"https://avatars.githubusercontent.com/u/11377525?v=3","gravatar_id":"","url":"https://api.github.com/users/damste","html_url":"https://github.com/damste","followers_url":"https://api.github.com/users/damste/followers","following_url":"https://api.github.com/users/damste/following{/other_user}","gists_url":"https://api.github.com/users/damste/gists{/gist_id}","starred_url":"https://api.github.com/users/damste/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damste/subscriptions","organizations_url":"https://api.github.com/users/damste/orgs","repos_url":"https://api.github.com/users/damste/repos","events_url":"https://api.github.com/users/damste/events{/privacy}","received_events_url":"https://api.github.com/users/damste/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-03-22T12:46:31Z","updated_at":"2015-03-22T13:05:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/RickCHodgin/libsf/pulls/13","html_url":"https://github.com/RickCHodgin/libsf/pull/13","diff_url":"https://github.com/RickCHodgin/libsf/pull/13.diff","patch_url":"https://github.com/RickCHodgin/libsf/pull/13.patch"},"body":"Look at this.. it is also incomplete, in _VAR_TYPE_CHARACTER case missing Currency check ($)\r\nI will finish this...but tell me if as is done now can go :-)\r\n"},"comment":{"url":"https://api.github.com/repos/RickCHodgin/libsf/issues/comments/84604088","html_url":"https://github.com/RickCHodgin/libsf/pull/13#issuecomment-84604088","issue_url":"https://api.github.com/repos/RickCHodgin/libsf/issues/13","id":84604088,"user":{"login":"RickCHodgin","id":1051987,"avatar_url":"https://avatars.githubusercontent.com/u/1051987?v=3","gravatar_id":"","url":"https://api.github.com/users/RickCHodgin","html_url":"https://github.com/RickCHodgin","followers_url":"https://api.github.com/users/RickCHodgin/followers","following_url":"https://api.github.com/users/RickCHodgin/following{/other_user}","gists_url":"https://api.github.com/users/RickCHodgin/gists{/gist_id}","starred_url":"https://api.github.com/users/RickCHodgin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RickCHodgin/subscriptions","organizations_url":"https://api.github.com/users/RickCHodgin/orgs","repos_url":"https://api.github.com/users/RickCHodgin/repos","events_url":"https://api.github.com/users/RickCHodgin/events{/privacy}","received_events_url":"https://api.github.com/users/RickCHodgin/received_events","type":"User","site_admin":false},"created_at":"2015-03-22T13:05:43Z","updated_at":"2015-03-22T13:05:43Z","body":"_VAR_TYPE_CURRENCY is already a valid type, converted to s64 with an implied 4 decimals. For character, just use strtoi64(), and whatever it returns is what they get. They can use CHRTRAN() to remove characters, or VALOFS() with its parameters. But for regular VAL(), just whatever's there as is."}}