Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I would like to create an expression which the result would be dependent on max value.
For example:
if the max value of the expression would be 0.001, then multiply the value by 10 until the value reach 1 (in this case, multiply by 1000),
but if the max value would be 0.1, then only multiply by 10.
How can i do this in an expression without creating 10 if clauses?
Thank you,
Emílio
0.001 * pow(10, -floor(log10(0.001))) = 1. Replace 0.001 with the expression that returns the value you want multiplied.
0.001 * pow(10, -floor(log10(0.001))) = 1. Replace 0.001 with the expression that returns the value you want multiplied.
Thks ,
Regards,
Emílio