Remove or add parentheses as necessary to improve clarity.
There should be no changes in the code compiled from source directly.
This commit is contained in:
parent
2488349a1b
commit
202b4503d1
12 changed files with 59 additions and 59 deletions
|
@ -41,7 +41,7 @@ string FormatFloat(float f, integer num_decimals)
|
|||
f -= rounding;
|
||||
else
|
||||
f += rounding;
|
||||
string ret = llGetSubString((string)f, 0, num_decimals - (!num_decimals) - 7);
|
||||
string ret = llGetSubString((string)f, 0, num_decimals - !num_decimals - 7);
|
||||
if (llSubStringIndex(ret, ".") != -1)
|
||||
{
|
||||
while (llGetSubString(ret, -1, -1) == "0")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue