FANDOM


MathRoundReal.Edit

function MathRoundReal takes real r_number, real r_round returns real

set r_number = r_number - ModuloReal( r_number , r_round )
return r_number

endfunction

r_number - Number to round

r_round - Number to round by

Usage:

//The following will display a plain white message containing 10.000 to all players

call DisplayTextToForce( GetPlayersAll( ) , R2S( MathRoundReal( 10.56, 1.00 ) ) )


Drasnian 21:09, 2 July 2008 (UTC)

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.