confiForm calculation with comma

Michael Küng
Contributor
December 6, 2021

Hey,

Short question....if I have a simple calculation it seems it's not possible to type the value with comma, like e.g. 1,5.

It's just work if I type 1.5. Is there a way to use e comma instead auf a dot? Maybe a virtual a fuction?

 

By the way, I get the following error --> com.udojava.evalex.Expression$ExpressionException: Parse error for function 'null'

1 answer

1 accepted

2 votes
Answer accepted
Alex Medved _ConfiForms_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 6, 2021

Hi

Something like 1,5 is not really a numeric value and may also confused with the "parameters separator" in formulas... but ConfiForms could understand this and quick tests show it works...

http://recordit.co/SuMCqoXSMu

 

Alex

Michael Küng
Contributor
December 6, 2021

Thanks for the fast reply and the demo! Works for me as well in a forumla or calculate field.

If I use a "Rules for field definition" (Set expression) to make a dynamic calculation within the registration control it won't work. :(

So it seems this is not possible?

Alex Medved _ConfiForms_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 6, 2021

It works in set expression for me as well http://recordit.co/fGMLHYI09A

(it is really the same engine used to process formulas)

Screenshot 2021-12-06 at 11.46.51.png

Michael Küng
Contributor
December 6, 2021

Thank Alex! I really appreciate your support! Now it works also for me! ;)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events