21
Views
11
Comments
Solved
Help with Decimals
Application Type
Traditional Web

Hi!

So, I am doing a app to keep on track my taks and, if the task is for work, I am adding a payment attribute.

So, when I finish my task, I save the duration and I say Custos = Custos / 60 * DataFim

Custos is my payment for hour (5€ per hour, example) and DataFim is the time that I used to finish the task.

 I think that the error is in the showing of the decimal but I am not sure. 

I hope you can help me and if u need more prints, tell me :)

Custos.png

Rank: #94
Solution

Hello Gonçalo,

Hope you're doing well.

What exactly is the error that you're facing? Can you give us more detail?


Kind regards,

Rui Barradas

Rank: #89

HI Goncalo,

You are getting data from task entity and pass this input in Update action


and task entity have 0 value for Cutos (cost)


that why you getting always 0 value .

Hope this will help you.

Regards

Rahul