I've a problem on how to calculate the percentage based on:
- Balance ( ex: 5.22 ) ( Integer ) ( How much money the user has put into this tasks )
- Task Created on ( Milliseconds ) ( ex 1604919015906 )
- Task deadline ( Milliseconds ) ( ex 1612047600000 )
I would like to get the percentage of this operation but I don't know how, any help?
Thanks in advance