Home > User Voice > Constants - add info is always treated as TEXT or add set type

Constants - add info is always treated as TEXT or add set type
0

Constants - add info is always treated as TEXT
or add option to set type of Constants

https://docs.webcon.com/docs/2024R1/Studio/Process/Process_Variables#konfiguracja-sta%C5%82ej

In reply to: Dawid Porowski

Hi Paweł,
I believe the constant type is adjusted based on where and how it is used.
So for example if the constant value is a number, you can use it in an arithmetic operation without any problems.

Cheers,
Dawid

Referring to my problem here:
https://community.webcon.com/forum/thread/5957

it doesn't behave like "number" but like text.

so I needed (thx Jacek Wojnar) to change constant text to decimal so ...
constant with "." or "," is text not number ....
so in help please add number with out "." or "," is number but fraction is text .... :|
or add option to declare in constants string of characters as:
integer / fraction / string (text) / double / long ect.

btw: I am in webcon 2022.1.4.404