Jump to content
Seja Membro VIP - Remova Banners de Propagandas, Tenha Liberado Qualquer Download, Além de Acessos em Áreas Exclusivas!! ×

Recommended Posts


  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  27
  • Content Per Day:  0.00
  • Reputation:   0
  • Achievement Points:  250
  • Solved Content:  0
  • Days Won:  0
  • Status:  Offline
  • Age:  55
  • Device:  Windows

Posted

Bom dia. Estou com dificuldades de formatar uma expressão no rmreports. 

 

LINHA SILÍCIO

COL-3 / COL-4 = COL-5   0,46

COL-5 * COL-6 = COL-7  = 117,76 valor correto

O que o relatório está fazendo:

COL-3 / COL-4 = COL-5  0,457270

COL-5 * COL-6 = COL-7 =  117,06

 

 

reports erro arredondamento.png

FORMATAÇÃO COLUNA 7.png

FORMATAÇÃO COLUNA 5.png

FORMATAÇÃO TOTALIZADOR 4.png

FORMATAÇÃO TOTALIZADOR 3.png

  • 2 weeks later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images


  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  503
  • Content Per Day:  0.19
  • Reputation:   142
  • Achievement Points:  3,338
  • Solved Content:  0
  • Days Won:  65
  • Status:  Offline
  • Age:  36
  • Device:  Windows

Posted

@Handerson Xavier, boa tarde, tudo bem! 

A questão é o arredondamento da expressão, no seu exemplo, temos uma dizima periódica...

Tentei utilizar o arredondamento em conjunto da expressão, mas não está funcionando do meu exemplo... V12.1.2306.227

 

image.png

 

Como solução, tive que fazer o arredondamento na "unha", pois as formulas padrões RPT00021.1 - Expressão (Geral) - Linha RM - TDN (totvs.com) deixam o campo em inteiro! 

Segue o relatório de exemplo.

 

Abraços.

TIC.001.025.TotvsReport

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.