{"action":"created","issue":{"url":"https://api.github.com/repos/cakephp/cakephp/issues/8508","repository_url":"https://api.github.com/repos/cakephp/cakephp","labels_url":"https://api.github.com/repos/cakephp/cakephp/issues/8508/labels{/name}","comments_url":"https://api.github.com/repos/cakephp/cakephp/issues/8508/comments","events_url":"https://api.github.com/repos/cakephp/cakephp/issues/8508/events","html_url":"https://github.com/cakephp/cakephp/issues/8508","id":142626946,"number":8508,"title":"NumberHelper::currency option 'precision' is ignored","user":{"login":"paulrwest","id":15832410,"avatar_url":"https://avatars.githubusercontent.com/u/15832410?v=3","gravatar_id":"","url":"https://api.github.com/users/paulrwest","html_url":"https://github.com/paulrwest","followers_url":"https://api.github.com/users/paulrwest/followers","following_url":"https://api.github.com/users/paulrwest/following{/other_user}","gists_url":"https://api.github.com/users/paulrwest/gists{/gist_id}","starred_url":"https://api.github.com/users/paulrwest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulrwest/subscriptions","organizations_url":"https://api.github.com/users/paulrwest/orgs","repos_url":"https://api.github.com/users/paulrwest/repos","events_url":"https://api.github.com/users/paulrwest/events{/privacy}","received_events_url":"https://api.github.com/users/paulrwest/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cakephp/cakephp/labels/Works%20For%20Me","name":"Works For Me","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/cakephp/cakephp/milestones/83","html_url":"https://github.com/cakephp/cakephp/milestones/3.2.6","labels_url":"https://api.github.com/repos/cakephp/cakephp/milestones/83/labels","id":1641774,"number":83,"title":"3.2.6","description":"Bugfixes and optimizations to 3.2.x","creator":{"login":"markstory","id":24086,"avatar_url":"https://avatars.githubusercontent.com/u/24086?v=3","gravatar_id":"","url":"https://api.github.com/users/markstory","html_url":"https://github.com/markstory","followers_url":"https://api.github.com/users/markstory/followers","following_url":"https://api.github.com/users/markstory/following{/other_user}","gists_url":"https://api.github.com/users/markstory/gists{/gist_id}","starred_url":"https://api.github.com/users/markstory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markstory/subscriptions","organizations_url":"https://api.github.com/users/markstory/orgs","repos_url":"https://api.github.com/users/markstory/repos","events_url":"https://api.github.com/users/markstory/events{/privacy}","received_events_url":"https://api.github.com/users/markstory/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":61,"state":"closed","created_at":"2016-03-14T03:29:34Z","updated_at":"2016-04-14T08:40:19Z","due_on":"2016-04-03T04:00:00Z","closed_at":"2016-03-29T02:59:25Z"},"comments":3,"created_at":"2016-03-22T11:48:03Z","updated_at":"2016-04-14T08:40:19Z","closed_at":null,"body":"* [x] bug\r\n* CakePHP Version: 3.2.5\r\n* Platform and Target: Windows 10 running xampp PHP Version 5.6.8\r\n\r\n### What you did\r\nI want to show a currency value with 4 numbers after the decimal point we are using half/quarter pence units.\r\n\r\n`echo Number::currency(0.0050, 'GBP', ['precision' => 4]);` \r\n\r\n### Expected Behavior\r\nI was hoping to see \r\n\r\n> £0.0050 \r\n\r\n### Actual Behavior\r\nThe precision option is being ignored and setting format to standard currency format \r\n\r\n> £0.00\r\n\r\nThe precision option is listed as a valid option \r\n[Number API](http://api.cakephp.org/3.2/class-Cake.I18n.Number.html#_currency)\r\nI have tested with setting other options and using pattern '#.####' shows the correct value but then I lose the currency symbol. As soon as I include the currency symbol in pattern  '¤#.####' it sets it to 2 decimal numbers.\r\n"},"comment":{"url":"https://api.github.com/repos/cakephp/cakephp/issues/comments/209830479","html_url":"https://github.com/cakephp/cakephp/issues/8508#issuecomment-209830479","issue_url":"https://api.github.com/repos/cakephp/cakephp/issues/8508","id":209830479,"user":{"login":"dereuromark","id":39854,"avatar_url":"https://avatars.githubusercontent.com/u/39854?v=3","gravatar_id":"","url":"https://api.github.com/users/dereuromark","html_url":"https://github.com/dereuromark","followers_url":"https://api.github.com/users/dereuromark/followers","following_url":"https://api.github.com/users/dereuromark/following{/other_user}","gists_url":"https://api.github.com/users/dereuromark/gists{/gist_id}","starred_url":"https://api.github.com/users/dereuromark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dereuromark/subscriptions","organizations_url":"https://api.github.com/users/dereuromark/orgs","repos_url":"https://api.github.com/users/dereuromark/repos","events_url":"https://api.github.com/users/dereuromark/events{/privacy}","received_events_url":"https://api.github.com/users/dereuromark/received_events","type":"User","site_admin":false},"created_at":"2016-04-14T08:40:19Z","updated_at":"2016-04-14T08:40:19Z","body":"This should also be addressed properly IMO."}}