11.02.2013, 06:13
pawn Код:
new SellPrice;
SellPrice = AHouseData[HouseID][HousePrice] * 0.1;
Help
new SellPrice;
SellPrice = AHouseData[HouseID][HousePrice] * 0.1;
new double SellPrice;
#define value 0.1
Create a new float variable and assign the value as 0.1, then keep SellPrice as a float and do the equation that way.
|
new Float:multi;
multi = 0.1;
new Float:SellPrice = AHouseData[HouseID][HousePrice] * multi;
return floatround(SellPrice);
new Float:SellPrice;
SellPrice = float(AHouseData[HouseID][HousePrice]) * 0.1;