Absolute of a number value

Stimulsoft Reports.NET discussion
Post Reply
Saro
Posts: 7
Joined: Wed Feb 18, 2009 7:28 am
Location: India

Absolute of a number value

Post by Saro »

Hi,

I have to show the absolute value of a number in my report, but I find it hard to find the function for it. I tried looking for Abs() and also tried looking in Func class, but couldn't find. Can someone help me to achieve this?

Thank you.
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Absolute of a number value

Post by Edward »

Hi

Please use the following expression:

Code: Select all

{Math.Abs(-100)}
Thank you.
Post Reply