Math problems

Stimulsoft Reports.NET discussion
Post Reply
fuhrj
Posts: 120
Joined: Wed Jun 11, 2008 12:51 pm
Location: Lancaster, Ohio

Math problems

Post by fuhrj »

When I use this in my report:

{Format("{0:N2}", 11/13)}

It prints "0.00" when it should display "0.84".

I've tried messing with the Text formatting on the text box, but can't get it to display properly.


Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

Math problems

Post by Jan »

Hello,

Please change your expression to:

Code: Select all

{Format("{0:N2}", 11/13)}
Thank you.
Post Reply