OsRound

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
(Created page with "{{osslfunc |threat_level= |permissions= |delay=0 |function_syntax=float osRound(LSL_Float value, LSL_Integer ndigits) |description=returns the value rounded to the number with...")
 
Line 4: Line 4:
 
|delay=0
 
|delay=0
 
|function_syntax=float osRound(LSL_Float value, LSL_Integer ndigits)
 
|function_syntax=float osRound(LSL_Float value, LSL_Integer ndigits)
 +
|ossl_example=
 
|description=returns the value rounded to the number with a number if decimal places set by ndigits.<br />ndigits = 0 is same as llRound(), max value is 15.
 
|description=returns the value rounded to the number with a number if decimal places set by ndigits.<br />ndigits = 0 is same as llRound(), max value is 15.
 
|additional_info=note that ll*Say do llRound(value,6) by default so you can't test with them..
 
|additional_info=note that ll*Say do llRound(value,6) by default so you can't test with them..
 
}}
 
}}

Revision as of 10:56, 1 October 2018

float osRound(LSL_Float value, LSL_Integer ndigits)
returns the value rounded to the number with a number if decimal places set by ndigits.
ndigits = 0 is same as llRound(), max value is 15.
Threat Level No threat level specified
Permissions No permissions specified
Extra Delay 0 seconds
Notes
note that ll*Say do llRound(value,6) by default so you can't test with them..


Personal tools
General
About This Wiki