Skip to content
Permalink
Browse files
Better decimals parameter description
  • Loading branch information
domi4484 committed Sep 6, 2021
1 parent 07e49fd commit 3ce3a2bfa1c1ee8df849c13f09695b37100bf231
Showing with 2 additions and 2 deletions.
  1. +1 −1 python/core/auto_generated/qgsunittypes.sip.in
  2. +1 −1 src/core/qgsunittypes.h
@@ -583,7 +583,7 @@ Returns the conversion factor between the specified angular units.
Returns an angle formatted as a friendly string.

:param angle: angle to format
:param decimals: number of decimal places to show. By -1 it show an appropriate number of decimal places
:param decimals: number of decimal places to show. A value of -1 indicates that an appropriate number of decimal places should automatically be selected.
:param unit: unit of angle

:return: formatted angle string
@@ -557,7 +557,7 @@ class CORE_EXPORT QgsUnitTypes
/**
* Returns an angle formatted as a friendly string.
* \param angle angle to format
* \param decimals number of decimal places to show. By -1 it show an appropriate number of decimal places
* \param decimals number of decimal places to show. A value of -1 indicates that an appropriate number of decimal places should automatically be selected.
* \param unit unit of angle
* \returns formatted angle string
*/

0 comments on commit 3ce3a2b

Please sign in to comment.