Data table Manipulation in Double Variable type

I have a datatable there is a column amount. amount is double type variable.
My query is that I want to found maximum Amount in all datatable.

I am using this Expression but it is not working.


Please Help…

Regards
Rishabh Chauhan

Hi,

Can you share the error message?

Regards,

No, error actually it is not accepting “Cdbl”. It is accepted only “Cint”.
What should I do.

Hi,

Can you hover mouse cursor on red exclamation mark?

And the above expression seems lack of ). Can you try the following expression?

dt_Data.AsEnumerable.Max(function(row) (cdbl(row("amount"))))

Regards,

compilation

datatable

How to get maximum amount In amount column.

Hi!

Have a view on this thread

Regards,
NaNi

Hi,

Do you use Assign activity? Which type variable in the left side?

Regards,

thanks @THIRU_NANI
Code is working fine

Regards
Rishabh Chauhan

1 Like

hi

In Assign activity Left side Variable is Double Type

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.