Is there a known issue with trunc()? trunc(todecimal("4.81"),2) = 4.8

If I do : trunc(todecimal("4.71"),2)&"---"&rounddown(todecimal("4.71"),2)

I correctly get : 4.71---4.71

 

But If I do: trunc(todecimal("4.81"),2) &"---"&rounddown(todecimal("4.81"),2)

I get : 4.8---4.81

 

Why does it give me 4.8 for trunc(todecimal("4.81"),2)   = 4.8?

 

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data