A follow on from this question: C# how to always round down to nearest 50
How would I round a decimal to the nearest 50 and return an int, I could do the following but there must be a more efficent solution?
decimal test = 154.45m;
decimal newValue = Math.Floor(test / 50m) * 50.0m;
int testInt = Convert.ToInt32(newValue);