sachinbaan
27th November 2014, 07:58
Hi,

I am having value of type double with (-ve) sign. e.g. -2.0000, I want to this value as 2.0000 without any sign, is there any function to do this.?

sachinbaan
27th November 2014, 08:10
Hi,

Got the solution using abs() , I got the absolute value.

jayugandhi
27th November 2014, 12:09
Hi Sachin,

you can also do like this -

if a < 0 then
b = a * (-1)
endif