LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to change the sign on a number value?

Hi.

What's the easiest way of changing a sign for a value ?

Ex. I get a value from a calculation thats read -14, but I want to display +14 (or 14)
0 Kudos
Message 1 of 4
(5,040 Views)
You can use "absolute value" or "negate", both in the numeric palette. 🙂
0 Kudos
Message 2 of 4
(5,038 Views)
Thank you 🙂

Sometimes... the eyes is what I'm getting blind on first....Smiley Sad
0 Kudos
Message 3 of 4
(5,036 Views)

Also, if you want to get the sign of a number, there is always the Sign primitive in the Numeric pallette.

- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 4 of 4
(5,016 Views)