There might be an easier way, but for rounding to a number of decimal places, you can always do
PHP Code:
fNum = floatround(fNum*10) / 10.0
PHP Code:
stock Float:floatround_dp(Float:num, dp)
{
new Float:mult = floatpower( 10.0, float(dp) )
return floatround( num * mult ) / mult
}
All that does is shift everything you want to keep left of the decimal point, round it, and shift it back.