{"id":24013,"date":"2023-08-03T11:34:19","date_gmt":"2023-08-03T10:34:19","guid":{"rendered":"https:\/\/developers.primaverabss.com\/en\/forum\/totalizador-em-prigrelha-ignora-casas-decimais\/"},"modified":"2023-08-10T10:29:18","modified_gmt":"2023-08-10T09:29:18","slug":"totalizador-em-prigrelha-ignora-casas-decimais","status":"publish","type":"cma_thread","link":"https:\/\/developers.ila.cegid.com\/en\/forum\/totalizador-em-prigrelha-ignora-casas-decimais\/","title":{"rendered":"Totalizador em PriGrelha ignora casas decimais"},"content":{"rendered":"<p>Bom dia.<\/p>\n<p>Tendo uma PriGrelha com multiplas colunas do tipo CellTypeCurrency com ColunaTotalizador, os valores apresentados s\u00e3o arredondados a integer:<\/p>\n<p>Exemplo:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"csharp\">priGrelhaDocumentos.AddColKey(strColKey: \"ValorPendente\", intTipo: FpCellType.CellTypeCurrency, strTitulo: \"Pendente\", 10, strCamposBaseDados: \"'ValorPendente' = ValorPendente * -1\", blnColunaTotalizador: true, blnBloqueada: true);<\/pre>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" style=\"letter-spacing: 0.32px\" src=\"https:\/\/i.imgur.com\/boBAEEK.png\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Alguem sabe como resolver isto? Pessoalmente parece-me ser um bug da aplica\u00e7\u00e3o&#8230;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Bom dia. Tendo uma PriGrelha com multiplas colunas do tipo CellTypeCurrency com ColunaTotalizador, os valores apresentados s\u00e3o arredondados a integer: Exemplo: priGrelhaDocumentos.AddColKey(strColKey: &#8220;ValorPendente&#8221;, intTipo: FpCellType.CellTypeCurrency, strTitulo: &#8220;Pendente&#8221;, 10, strCamposBaseDados: &#8220;&#8216;ValorPendente&#8217; = ValorPendente * -1&#8221;, blnColunaTotalizador: true, blnBloqueada: true); &nbsp; &nbsp; Alguem sabe como resolver isto? Pessoalmente parece-me ser um bug da aplica\u00e7\u00e3o&#8230; &nbsp;<\/p>\n","protected":false},"author":1089,"featured_media":0,"template":"","tags":[],"cma_category":[],"cma_difficulty_level":[],"forum-tag":[370,374],"class_list":["post-24013","cma_thread","type-cma_thread","status-publish","hentry","forum-tag-integration","forum-tag-v10-en","forum-languages-pt"],"_links":{"self":[{"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/cma_thread\/24013","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/cma_thread"}],"about":[{"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/types\/cma_thread"}],"author":[{"embeddable":true,"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/users\/1089"}],"wp:attachment":[{"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/media?parent=24013"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/tags?post=24013"},{"taxonomy":"cma_category","embeddable":true,"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/cma_category?post=24013"},{"taxonomy":"cma_difficulty_level","embeddable":true,"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/cma_difficulty_level?post=24013"},{"taxonomy":"forum-tag","embeddable":true,"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/forum-tag?post=24013"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}