Workflow Editor 4.1.1 Floating Point Math

I noticed that the float field type was added in YouTrack 4.1.1.  I am trying to create a workflow rule that needs to create float variables and perform floating point math.  However, when I try to make a variable such as:

var priority = 2.3;
prettyPrint();
I get a red underline squiggle under the ".3" part of the assignment.  Is there a way to create or use floats in the workflow editor?
2 comments
Comment actions Permalink
Hello!

Unfortunately, YouTrack does not support this functionality yet.
We have issue based on your request: http://youtrack.jetbrains.com/issue/JT-17321

You can vote for the issue to get it resolved faster.

Regards,
--
Mikhail
0
Comment actions Permalink
Actually, even if you get the floating-point support, we would still need a good chunk of the Java math stack. At the very least, things like floor(), ceil() and round(). Maybe the solution is actually to allow full Java execution?
0

Please sign in to leave a comment.