Я пытаюсь:
Код: Выделить всё
newCost = cost * costMultiply
Я тоже пробовал:
Код: Выделить всё
int multiplierBuffer = (int)(costMultiply * 10);
cost = cost * (multiplierBuffer / 10);
Как мне умножить BigInteger на поплавок?
Подробнее здесь: https://stackoverflow.com/questions/625 ... r-by-float
Мобильная версия