We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

# VF function for positive value

on
Medium Priority
219 Views
Very easy question but i can not find the syntax

I need the syntax for the function to convert a number in any case into a positive value

so if I calculate -3  than the result needs to be +3

I know I can do this with

((-3)^2)^1/2

But is there a function function(-3) = 3
Comment
Watch Question

## View Solution Only

Billing Engineer
CERTIFIED EXPERT
Most Valuable Expert 2014
Top Expert 2009
Commented:
abs(-3) => 3

Not the solution you were looking for? Getting a personalized solution is easy.

Commented:
The abs (Absolute) function will turn a negative into a positive....

Var = Abs(InVal)

3 = -3
3 = +3

Commented:
thanks I just could not find it

:)
##### Thanks for using Experts Exchange.

• View three pieces of content (articles, solutions, posts, and videos)
• Ask the experts questions (counted toward content limit)
• Customize your dashboard and profile