Skip to main content
Solved

Substract values results in string?


smartman63
Contributor
Forum|alt.badge.img+1

Hello,

 

I'm having trouble to substract 2 values. The source attributes (ontwerp & rekenk, yellow) are encoded utf. I convert them to 2 new attributes such as "@real32(@Value(rekenk))". (blue) Then I want to substract those numeric real values in "TEST" but that results in a string? (red)

 

Any ideas?

Best answer by ebygomm

You need to make sure that you are using the arithmetic editor not the text editor

 

View original
Did this help you find an answer to your question?

3 replies

ebygomm
Influencer
Forum|alt.badge.img+38
  • Influencer
  • Best Answer
  • April 9, 2020

You need to make sure that you are using the arithmetic editor not the text editor

 


david_r
Celebrity
  • April 9, 2020
ebygomm wrote:

You need to make sure that you are using the arithmetic editor not the text editor

 

0684Q00000ArJw4QAF.png

Or simply wrap the whole expression up into a call to @Evaluate():

@Evaluate(@Value(NUM_REKEN)-@Value(NUM_ONTW))

smartman63
Contributor
Forum|alt.badge.img+1
  • Author
  • Contributor
  • April 9, 2020

Wow, that looks pretty simple! I'll give it a try. Thnxs.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings