If you are not familiar with how to get the values you want to convert, this answer will give you what you are looking for
long Price = 148920000; long PRICE = 1000000; double Multiplier = 100.00; var Value = (Convert.ToInt32(Math.Round((double)Price / (double)PRICE) * Multiplier));
or another version without using the var keyword gives the same results
long Price = 148920000; long PRICE = 1000000; double Multiplier = 100.00; int Value = (int)(Math.Round((double)Price / (double)PRICE) * Multiplier);
Answer = 14892
source share