05.04.2018, 17:59 
	(
 Последний раз редактировалось bigtigerbeee; 06.04.2018 в 03:48.
)
	
	
		Some values, such as 25.8, are always 25.7(99999), but values like 4.8 show 4.8(00000)


 
	
	
	
	
Код:
new Float:amount = ConvertFloatToOneDP(floatstr(inputtext));
stock Float:ConvertFloatToOneDP(Float:value)
{
	new Float:result;
	new tempInt;
	result = value * 10;
	tempInt = floatround(result, floatround_floor);
	result = float(tempInt);
	result = result / 10;
	result += 0.0000001;
	
	return result;
}


 
	





