Problem here looks like with sending integer
my actual binding is double as shown below
private double rating;
public double Rating
{
get { return rating; }
set
{
rating = value;
RaisePropertyChanged("Rating");
}
}
if I calculate as Rating and totalusers are both integer. So result is integer, although it shows 4 , sfRating displays 3
Rating = EntityRating.Rating / EntityRating.TotalUsers;
using below as double also doesnt work. Rating value becomes 4.7 but sfRating displays 4 stars instead of 4 star and 5th one 70% filled
Rating = (double)EntityRating.Rating / EntityRating.TotalUsers