Why do you specifically need such a ProgressBar, it's not like you cannot convert a float value to an integer value:
Assuming that your float value is between 0.0..1.0 and that the progress bar uses the default range (0..100) then all you need to do is:
progressBar.Value = (int)(floatValue * 100.0f);
Please feel free to let us know if you need further support later.
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.
Would you like to participate?