diff options
author | Winfried Donkers <winfrieddonkers@libreoffice.org> | 2017-02-19 10:46:11 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2017-02-20 17:04:04 +0000 |
commit | 3ee1c41ac72aaae9f364708b1c4df58d7643a341 (patch) | |
tree | c2727c64b4d063c1b7ba969667d2fa17aa3172e1 /formula | |
parent | 1c3a784d38fc5986c78bab8d283c4661347baf43 (diff) |
tdf#105931 Add function ROUNDSIG to Calc.
SIGDIGITS rounds a value to a determined number of significant digits.
Change-Id: I5dbfb638bf17ca109f9a14b3588d6d6c103edfa4
Reviewed-on: https://gerrit.libreoffice.org/34148
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'formula')
-rw-r--r-- | formula/source/core/resource/core_resource.src | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/formula/source/core/resource/core_resource.src b/formula/source/core/resource/core_resource.src index e0addf7ad488..5347eb0d75ce 100644 --- a/formula/source/core/resource/core_resource.src +++ b/formula/source/core/resource/core_resource.src @@ -458,6 +458,7 @@ StringArray RID_STRLIST_FUNCTION_NAMES_ENGLISH_ODFF < "COM.MICROSOFT.ERFC.PRECISE" ; SC_OPCODE_ERFC_MS; >; < "COM.MICROSOFT.ENCODEURL" ; SC_OPCODE_ENCODEURL; >; < "ORG.LIBREOFFICE.RAWSUBTRACT" ; SC_OPCODE_RAWSUBTRACT; >; + < "ORG.LIBREOFFICE.ROUNDSIG" ; SC_OPCODE_ROUNDSIG; >; }; }; @@ -898,6 +899,7 @@ StringArray RID_STRLIST_FUNCTION_NAMES_ENGLISH_OOXML < "_xlfn.ERFC.PRECISE" ; SC_OPCODE_ERFC_MS; >; < "_xlfn.ENCODEURL" ; SC_OPCODE_ENCODEURL; >; < "_xlfn.ORG.LIBREOFFICE.RAWSUBTRACT" ; SC_OPCODE_RAWSUBTRACT; >; + < "_xlfn.ORG.LIBREOFFICE.ROUNDSIG" ; SC_OPCODE_ROUNDSIG; >; }; }; @@ -1343,6 +1345,7 @@ StringArray RID_STRLIST_FUNCTION_NAMES_ENGLISH_PODF < "ERFC.PRECISE" ; SC_OPCODE_ERFC_MS; >; < "ENCODEURL" ; SC_OPCODE_ENCODEURL; >; < "RAWSUBTRACT" ; SC_OPCODE_RAWSUBTRACT; >; + < "ROUNDSIG" ; SC_OPCODE_ROUNDSIG; >; }; }; @@ -1787,6 +1790,7 @@ StringArray RID_STRLIST_FUNCTION_NAMES_ENGLISH_API < "ERFC.PRECISE" ; SC_OPCODE_ERFC_MS; >; < "ENCODEURL" ; SC_OPCODE_ENCODEURL; >; < "RAWSUBTRACT" ; SC_OPCODE_RAWSUBTRACT; >; + < "ROUNDSIG" ; SC_OPCODE_ROUNDSIG; >; }; }; @@ -2230,6 +2234,7 @@ StringArray RID_STRLIST_FUNCTION_NAMES_ENGLISH < "ERFC.PRECISE" ; SC_OPCODE_ERFC_MS; >; < "ENCODEURL" ; SC_OPCODE_ENCODEURL; >; < "RAWSUBTRACT" ; SC_OPCODE_RAWSUBTRACT; >; + < "ROUNDSIG" ; SC_OPCODE_ROUNDSIG; >; }; }; @@ -2683,6 +2688,7 @@ StringArray RID_STRLIST_FUNCTION_NAMES < "ERFC.PRECISE" ; SC_OPCODE_ERFC_MS ; >; < "ENCODEURL" ; SC_OPCODE_ENCODEURL ; >; < "RAWSUBTRACT" ; SC_OPCODE_RAWSUBTRACT ; >; + < "ROUNDSIG" ; SC_OPCODE_ROUNDSIG; >; }; }; |