{"action":"created","issue":{"url":"https://api.github.com/repos/processwire/processwire-requests/issues/126","repository_url":"https://api.github.com/repos/processwire/processwire-requests","labels_url":"https://api.github.com/repos/processwire/processwire-requests/issues/126/labels{/name}","comments_url":"https://api.github.com/repos/processwire/processwire-requests/issues/126/comments","events_url":"https://api.github.com/repos/processwire/processwire-requests/issues/126/events","html_url":"https://github.com/processwire/processwire-requests/issues/126","id":268520985,"node_id":"MDU6SXNzdWUyNjg1MjA5ODU=","number":126,"title":"FieldtypeDecimal needs to be in the core","user":{"login":"szabeszg","id":7194945,"node_id":"MDQ6VXNlcjcxOTQ5NDU=","avatar_url":"https://avatars2.githubusercontent.com/u/7194945?v=4","gravatar_id":"","url":"https://api.github.com/users/szabeszg","html_url":"https://github.com/szabeszg","followers_url":"https://api.github.com/users/szabeszg/followers","following_url":"https://api.github.com/users/szabeszg/following{/other_user}","gists_url":"https://api.github.com/users/szabeszg/gists{/gist_id}","starred_url":"https://api.github.com/users/szabeszg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szabeszg/subscriptions","organizations_url":"https://api.github.com/users/szabeszg/orgs","repos_url":"https://api.github.com/users/szabeszg/repos","events_url":"https://api.github.com/users/szabeszg/events{/privacy}","received_events_url":"https://api.github.com/users/szabeszg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2017-10-25T19:32:02Z","updated_at":"2018-11-29T11:30:07Z","closed_at":null,"author_association":"NONE","body":"Well, what can I say? This is a must.\r\n\r\nThe issue is detailed here:\r\nhttps://processwire.com/talk/topic/7542-development-fieldtypefloat-fieldtypedecimal/\r\n\r\nFork I happen to use:\r\nhttps://processwire.com/talk/topic/7542-development-fieldtypefloat-fieldtypedecimal/?do=findComment&comment=139097\r\n\r\nText fields are not a solution but a workaround. Please consider solving it by adding FieldtypeDecimal to the core. It might need some clean up before it can be added but I think it is worth the effort.\r\n\r\nIt is such an important issue that it should not be left to third party development."},"comment":{"url":"https://api.github.com/repos/processwire/processwire-requests/issues/comments/442800800","html_url":"https://github.com/processwire/processwire-requests/issues/126#issuecomment-442800800","issue_url":"https://api.github.com/repos/processwire/processwire-requests/issues/126","id":442800800,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MjgwMDgwMA==","user":{"login":"flydev-fr","id":11658616,"node_id":"MDQ6VXNlcjExNjU4NjE2","avatar_url":"https://avatars1.githubusercontent.com/u/11658616?v=4","gravatar_id":"","url":"https://api.github.com/users/flydev-fr","html_url":"https://github.com/flydev-fr","followers_url":"https://api.github.com/users/flydev-fr/followers","following_url":"https://api.github.com/users/flydev-fr/following{/other_user}","gists_url":"https://api.github.com/users/flydev-fr/gists{/gist_id}","starred_url":"https://api.github.com/users/flydev-fr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flydev-fr/subscriptions","organizations_url":"https://api.github.com/users/flydev-fr/orgs","repos_url":"https://api.github.com/users/flydev-fr/repos","events_url":"https://api.github.com/users/flydev-fr/events{/privacy}","received_events_url":"https://api.github.com/users/flydev-fr/received_events","type":"User","site_admin":false},"created_at":"2018-11-29T11:30:07Z","updated_at":"2018-11-29T11:30:07Z","author_association":"NONE","body":"I don't think that a warning on the `InputfieldFloat` is needed here, but as a note in the documentation as I expect that a programmer know what is a Floating-point type, as it's the same story for others programming language.\r\n\r\nI think it could might be worth writing an article on ProcessWire about, e.g., how to work with financial data, using decimal or integer type but not float and explaining performance issues doing calculations on a decimal type."}}
{"actor":{"display_login":"flydev-fr"}}