docs(editor): Update .round() function in NumberExtensions.ts for clarity (#7150)

This commit is contained in:
greyliath 2023-09-12 09:24:29 +01:00 committed by GitHub
parent e51f173608
commit b67a6fc432
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -88,7 +88,7 @@ format.doc = {
round.doc = {
name: 'round',
description:
'Returns the value of a number rounded to the nearest whole number. Defaults to 0 decimal places if no argument is given.',
'Returns the value of a number rounded to the nearest whole number, unless a decimal place is specified. Defaults to 0 decimal places if no argument is given.',
returnType: 'number',
args: [{ name: 'decimalPlaces?', type: 'number' }],
docURL: