Calculate Using Microflow

0
while debugging the list with aggregate action activity for sum of objects throws below exception using float variable: Mendix.Modeler.Microflows.Debugger.DebuggerException: java.lang.Float cannot be cast to java.lang.Double    at Mendix.Modeler.Microflows.Debugger.DebuggerResponse..ctor(String requestActionName, String responseText) in C:\jenkins\workspace\AppStudio-5-Modeler-LTS\src\modeler\Mendix.Modeler.Core\Microflows\Debugger\DebuggerResponse.cs:line 27    at Mendix.Modeler.Microflows.Debugger.DebuggerClient.PerformRequest(DebuggerRequest request, Int32 timeout) in C:\jenkins\workspace\AppStudio-5-Modeler-LTS\src\modeler\Mendix.Modeler.Core\Microflows\Debugger\DebuggerClient.cs:line 166    at Mendix.Modeler.Microflows.Debugger.DebuggerClient.GetObject(Guid debugId, String variableName) in C:\jenkins\workspace\AppStudio-5-Modeler-LTS\src\modeler\Mendix.Modeler.Core\Microflows\Debugger\DebuggerClient.cs:line 125    at Mendix.Modeler.Microflows.Debugger.DebuggerController.GetObject(Guid debugId, String variableName) in C:\jenkins\workspace\AppStudio-5-Modeler-LTS\src\modeler\Mendix.Modeler.Core\Microflows\Debugger\DebuggerController.cs:line 128    at Mendix.Modeler.Microflows.Debugger.VariablesTreeModel.<>c__DisplayClass3_0.<GetChildren>b__1() in C:\jenkins\workspace\AppStudio-5-Modeler-LTS\src\modeler\Mendix.Modeler.Core\Microflows\Debugger\VariablesTreeModel.cs:line 35    at Mendix.Modeler.Utility.BackgroundUtil.<>c__DisplayClass1_0`1.<Do>b__0(Object s, DoWorkEventArgs e) in C:\jenkins\workspace\AppStudio-5-Modeler-LTS\src\modeler\Mendix.Modeler.Utility\BackgroundUtil.cs:line 28    at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
asked
1 answers
3

Hi Mugilan,

I would use decimal instead of float as type for your attribute. Float and currency are deprecated for the more precise decimal type.

https://docs.mendix.com/refguide6/moving-from-5-to-6#4-deprecated-features

Regards,

answered