I am having two values targetValue and receivedValue . Now I want to show the status on Progress bar. Means if targetValue is 1000 and receivedValue is 500 then progress bar should display 50% of filled area.
So I want to know that is there any easy way to do so… or I have to calculate the values any have to set with myProgressBar.progress = value ?
Use below
The value of
receivedValue /targetValuewill fall in the range of 0.0 to 1.0 ;