Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: timonkIrma,
You can use the BRAINScript function "format" to do some basic representation conversions of this type. See your BRAINScript help under the "String" section for this command.
For example, if I use a static data with the following values:
num:int
1
2
3
4
5
10
256
1024
53178
And put that output through a filter node with the following code:
emit format("%.X", num) as "hex format int", num
The result is:
hex format int num
1 1
2 2
3 3
4 4
5 5
A 10
100 256
400 1024
CFBA 53178
However, the resulting conversion will be a STRING format, not a number.
Does that help?
Regards,
Timon Koufopoulos
Lavastorm Analytics Support.