[SOLVED] Number of decimal digits in derived variables


#1

Hi. Is there a way to control the number of digits after the decimal in a derived variable? Either via cutoff or rounding?


#2

Hello @sokol,

You can create a Derived Variable with the round function, like this:
round(variable, number_of_decimal)

Regards.
kath


#3

Great, thanks!
Is there documentation somewhere on which math functions can be used?


#4

Hello @sokol,

At the moment we don’t have one, but we’re going to work on a article to helps our users with the math functions availables.

Rergards,
Maria C.


#5

Hello @sokol ,

You can find the documentation at the link below:

I hope this would help you.

Best Regards,
Maria C


#6

It is unfortunate that the derived expressions do not seem to evaluate booleans. That would make this feature much more flexible.
i.e.
X > 0

If this has been deliberately disabled (because one would expect this to be an integral part of any evaluation processing) could we not have it back please.

For a very simple example. If I only wanted positive values and for all negatives to be zero i could use
X * (X>0)

Thank you


#7

Thanks for your feedback, we will keep it in mind for future releases.

Regards