Fixed Precision
Revision as of 20:37, 4 March 2007 by Strife Onizuka (talk | contribs)
Here's a function to do fixed precision.
string fixedPrecision(float input, integer precision) { if(precision < 7) return llGetSubString((string)input, 0, precision - 7 - !precision); return (string)input; }