Difference between revisions of "NXSL:round"

54 bytes added ,  16:13, 13 September 2022
m
Text replacement - "^" to "{{deprecated}}"
(Created page with "__NOTOC__ Round floating point value to the nearest integral value or floating point value with given precision. == Syntax == round(''x'', ''precision''); == Parameters =...")
 
m (Text replacement - "^" to "{{deprecated}}")
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
{{deprecated}}__NOTOC__
Round floating point value to the nearest integral value or floating point value with given precision.
Round floating point value to the nearest integral value or floating point value with given precision.


'''Since:''' 1.2.5


== Syntax ==
== Syntax ==


round(''x'', ''precision'');
round(''x'' [, ''precision'']);




== Parameters ==
== Parameters ==


:{|
:{| class="wikitable"
|-
|-
| ''x'' || Floating point value.
| ''x'' || Floating point value.