Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
gnumeric
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
376
Issues
376
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
GNOME
gnumeric
Commits
fbb80817
Commit
fbb80817
authored
Nov 18, 2001
by
Valek Frob
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Documentation consistency improvements (mostly '\n' before 'Excel compatible'
parent
11ae5f4a
Changes
17
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
794 additions
and
760 deletions
+794
-760
plugins/fn-database/functions.c
plugins/fn-database/functions.c
+16
-3
plugins/fn-date/functions.c
plugins/fn-date/functions.c
+21
-21
plugins/fn-eng/functions.c
plugins/fn-eng/functions.c
+50
-50
plugins/fn-info/functions.c
plugins/fn-info/functions.c
+16
-15
plugins/fn-logical/functions.c
plugins/fn-logical/functions.c
+6
-6
plugins/fn-math/functions.c
plugins/fn-math/functions.c
+87
-88
plugins/fn-stat/functions.c
plugins/fn-stat/functions.c
+157
-158
plugins/fn-string/functions.c
plugins/fn-string/functions.c
+40
-39
src/functions/ChangeLog
src/functions/ChangeLog
+8
-0
src/functions/fn-database.c
src/functions/fn-database.c
+16
-3
src/functions/fn-date.c
src/functions/fn-date.c
+21
-21
src/functions/fn-eng.c
src/functions/fn-eng.c
+50
-50
src/functions/fn-information.c
src/functions/fn-information.c
+16
-15
src/functions/fn-logical.c
src/functions/fn-logical.c
+6
-6
src/functions/fn-math.c
src/functions/fn-math.c
+87
-88
src/functions/fn-stat.c
src/functions/fn-stat.c
+157
-158
src/functions/fn-string.c
src/functions/fn-string.c
+40
-39
No files found.
plugins/fn-database/functions.c
View file @
fbb80817
...
...
@@ -509,6 +509,7 @@ static char *help_daverage = {
"
\n
"
DB_ARGUMENT_HELP
"
\n
"
"@EXAMPLES
\n
"
"DAVERAGE(A1:C7,
\"
Salary
\"
, A9:A11) equals 42296.3333.
\n
"
"DAVERAGE(A1:C7,
\"
Age
\"
, A9:A11) equals 39.
\n
"
"DAVERAGE(A1:C7,
\"
Salary
\"
, A9:B11) equals 40782.5.
\n
"
...
...
@@ -578,6 +579,7 @@ static char *help_dcount = {
"
\n
"
DB_ARGUMENT_HELP
"
\n
"
"@EXAMPLES
\n
"
"DCOUNT(A1:C7,
\"
Salary
\"
, A9:A11) equals 3.
\n
"
"DCOUNT(A1:C7,
\"
Salary
\"
, A9:B11) equals 2.
\n
"
"DCOUNT(A1:C7,
\"
Name
\"
, A9:B11) equals 0.
\n
"
...
...
@@ -639,6 +641,7 @@ static char *help_dcounta = {
"
\n
"
DB_ARGUMENT_HELP
"
\n
"
"@EXAMPLES
\n
"
"DCOUNTA(A1:C7,
\"
Salary
\"
, A9:A11) equals 3.
\n
"
"DCOUNTA(A1:C7,
\"
Salary
\"
, A9:B11) equals 2.
\n
"
"DCOUNTA(A1:C7,
\"
Name
\"
, A9:B11) equals 2.
\n
"
...
...
@@ -697,13 +700,13 @@ static char *help_dget = {
"
\n
"
DB_ARGUMENT_HELP
"
\n
"
"DGET(A1:C7,
\"
Salary
\"
, A9:A10) equals 34323.
\n
"
"DGET(A1:C7,
\"
Name
\"
, A9:A10) equals
\"
Clark
\"
.
\n
"
"
\n
"
"If none of the items match the conditions, DGET returns #VALUE! "
"error. "
"If more than one items match the conditions, DGET returns #NUM! "
"error. "
"@EXAMPLES
\n
"
"DGET(A1:C7,
\"
Salary
\"
, A9:A10) equals 34323.
\n
"
"DGET(A1:C7,
\"
Name
\"
, A9:A10) equals
\"
Clark
\"
.
\n
"
"
\n
"
"@SEEALSO=DCOUNT"
)
};
...
...
@@ -765,6 +768,7 @@ static char *help_dmax = {
"
\n
"
DB_ARGUMENT_HELP
"
\n
"
"@EXAMPLES
\n
"
"DMAX(A1:C7,
\"
Salary
\"
, A9:A11) equals 47242.
\n
"
"DMAX(A1:C7,
\"
Age
\"
, A9:A11) equals 45.
\n
"
"DMAX(A1:C7,
\"
Age
\"
, A9:B11) equals 43.
\n
"
...
...
@@ -836,6 +840,7 @@ static char *help_dmin = {
"
\n
"
DB_ARGUMENT_HELP
"
\n
"
"@EXAMPLES
\n
"
"DMIN(A1:C7,
\"
Salary
\"
, A9:B11) equals 34323.
\n
"
"DMIN(A1:C7,
\"
Age
\"
, A9:B11) equals 29.
\n
"
"
\n
"
...
...
@@ -906,6 +911,7 @@ static char *help_dproduct = {
"
\n
"
DB_ARGUMENT_HELP
"
\n
"
"@EXAMPLES
\n
"
"DPRODUCT(A1:C7,
\"
Age
\"
, A9:B11) equals 1247.
\n
"
"
\n
"
"@SEEALSO=DSUM"
)
...
...
@@ -974,6 +980,7 @@ static char *help_dstdev = {
"
\n
"
DB_ARGUMENT_HELP
"
\n
"
"@EXAMPLES
\n
"
"DSTDEV(A1:C7,
\"
Age
\"
, A9:B11) equals 9.89949.
\n
"
"DSTDEV(A1:C7,
\"
Salary
\"
, A9:B11) equals 9135.112506.
\n
"
"
\n
"
...
...
@@ -1040,6 +1047,7 @@ static char *help_dstdevp = {
"
\n
"
DB_ARGUMENT_HELP
"
\n
"
"@EXAMPLES
\n
"
"DSTDEVP(A1:C7,
\"
Age
\"
, A9:B11) equals 7.
\n
"
"DSTDEVP(A1:C7,
\"
Salary
\"
, A9:B11) equals 6459.5.
\n
"
"
\n
"
...
...
@@ -1107,6 +1115,7 @@ static char *help_dsum = {
"
\n
"
DB_ARGUMENT_HELP
"
\n
"
"@EXAMPLES
\n
"
"DSUM(A1:C7,
\"
Age
\"
, A9:B11) equals 72.
\n
"
"DSUM(A1:C7,
\"
Salary
\"
, A9:B11) equals 81565.
\n
"
"
\n
"
...
...
@@ -1175,6 +1184,7 @@ static char *help_dvar = {
"
\n
"
DB_ARGUMENT_HELP
"
\n
"
"@EXAMPLES
\n
"
"DVAR(A1:C7,
\"
Age
\"
, A9:B11) equals 98.
\n
"
"DVAR(A1:C7,
\"
Salary
\"
, A9:B11) equals 83450280.5.
\n
"
"
\n
"
...
...
@@ -1243,6 +1253,7 @@ static char *help_dvarp = {
"
\n
"
DB_ARGUMENT_HELP
"
\n
"
"@EXAMPLES
\n
"
"DVARP(A1:C7,
\"
Age
\"
, A9:B11) equals 49.
\n
"
"DVARP(A1:C7,
\"
Salary
\"
, A9:B11) equals 41725140.25.
\n
"
"
\n
"
...
...
@@ -1314,6 +1325,8 @@ static char *help_getpivotdata = {
"If the summary data is unavailable, GETPIVOTDATA returns #REF! "
"error. "
"
\n
"
"@EXAMPLES
\n
"
"
\n
"
"@SEEALSO="
)
};
...
...
plugins/fn-date/functions.c
View file @
fbb80817
...
...
@@ -34,11 +34,11 @@ static char *help_date = {
"@years <= 30, it is assumed to be 2000 + @years. If 30 < "
"@years < 100, it is assumed to be 1900 + @years. "
"
\n
"
"If the given date is not valid, DATE returns #VALUE! error.
"
"If the given date is not valid, DATE returns #VALUE! error.
\n
"
"This function is Excel compatible. "
"
\n
"
"@EXAMPLES=
\n
"
"DATE(2001, 3, 30) returns
``Mar 30, 2001'
'.
\n
"
"DATE(2001, 3, 30) returns
'Mar 30, 2001
'.
\n
"
"
\n
"
"@SEEALSO=TODAY, NOW"
)
};
...
...
@@ -88,11 +88,11 @@ static char *help_datevalue = {
"@DESCRIPTION="
"DATEVALUE returns the serial number of the date. @date_str is "
"the string that contains the date.
"
"the string that contains the date.
\n
"
"This function is Excel compatible. "
"
\n
"
"@EXAMPLES=
\n
"
"DATEVALUE(
\"
1/1/1999
\"
) equals
to
36160. "
"DATEVALUE(
\"
1/1/1999
\"
) equals 36160. "
"
\n
"
"@SEEALSO=DATE"
)
};
...
...
@@ -283,13 +283,13 @@ static char *help_edate = {
"specified number of months before or after a given date. "
"@date is the serial number of the initial date and @months "
"is the number of months before (negative number) or after "
"(positive number) the initial date."
"(positive number) the initial date.
\n
"
"This function is Excel compatible. "
"
\n
"
"If @months is not an integer, it is truncated."
"
\n
"
"@EXAMPLES=
\n
"
"EDATE(DATE(2001,12,30),2)
equals Feb 28, 2002
.
\n
"
"EDATE(DATE(2001,12,30),2)
returns 'Feb 28, 2002'
.
\n
"
"
\n
"
"@SEEALSO=DATE"
)
};
...
...
@@ -334,11 +334,11 @@ static char *help_today = {
"@DESCRIPTION="
"TODAY returns the serial number for today (the number of days "
"elapsed since the 1st of January of 1900)."
"elapsed since the 1st of January of 1900).
\n
"
"This function is Excel compatible. "
"
\n
"
"@EXAMPLES=
\n
"
"TODAY() returns
Nov 6, 2001
on that particular day.
\n
"
"TODAY() returns
'Nov 6, 2001'
on that particular day.
\n
"
"
\n
"
"@SEEALSO=NOW"
)
};
...
...
@@ -365,7 +365,7 @@ static char *help_now = {
"of the day and is mapped into hour, minutes and seconds.
\n
"
""
"For example: .0 represents the beginning of the day, and 0.5 "
"represents noon."
"represents noon.
\n
"
"This function is Excel compatible. "
"
\n
"
"@EXAMPLES=
\n
"
...
...
@@ -387,7 +387,7 @@ static char *help_time = {
"@SYNTAX=TIME (hours,minutes,seconds)
\n
"
"@DESCRIPTION="
"TIME returns a fraction representing the time of day."
"TIME returns a fraction representing the time of day.
\n
"
"This function is Excel compatible. "
"
\n
"
"@EXAMPLES=
\n
"
...
...
@@ -417,7 +417,7 @@ static char *help_timevalue = {
"@DESCRIPTION="
"TIMEVALUE returns a fraction representing the time of day, a number "
"between 0 and 1."
"between 0 and 1.
\n
"
"This function is Excel compatible. "
"
\n
"
"@EXAMPLES=
\n
"
...
...
@@ -479,7 +479,7 @@ static char *help_minute = {
"
\n
"
"Note that Gnumeric will perform regular string to serial "
"number conversion for you, so you can enter a date as a "
"string."
"string.
\n
"
"This function is Excel compatible. "
"
\n
"
"@EXAMPLES=
\n
"
...
...
@@ -509,7 +509,7 @@ static char *help_second = {
"
\n
"
"Note that Gnumeric will perform regular string to serial "
"number conversion for you, so you can enter a date as a "
"string."
"string.
\n
"
"This function is Excel compatible. "
"
\n
"
"@EXAMPLES=
\n
"
...
...
@@ -538,7 +538,7 @@ static char *help_year = {
"
\n
"
"Note that Gnumeric will perform regular string to serial "
"number conversion for you, so you can enter a date as a "
"string."
"string.
\n
"
"This function is Excel compatible. "
"
\n
"
"@EXAMPLES=
\n
"
...
...
@@ -575,7 +575,7 @@ static char *help_month = {
"
\n
"
"Note that Gnumeric will perform regular string to serial "
"number conversion for you, so you can enter a date as a "
"string."
"string.
\n
"
"This function is Excel compatible. "
"
\n
"
"@EXAMPLES=
\n
"
...
...
@@ -612,7 +612,7 @@ static char *help_day = {
"
\n
"
"Note that Gnumeric will perform regular string to serial "
"number conversion for you, so you can enter a date as a "
"string."
"string.
\n
"
"This function is Excel compatible. "
"
\n
"
"@EXAMPLES=
\n
"
...
...
@@ -652,7 +652,7 @@ static char *help_weekday = {
"
\n
"
"Note that Gnumeric will perform regular string to serial "
"number conversion for you, so you can enter a date as a "
"string."
"string.
\n
"
"This function is Excel compatible. "
"
\n
"
"@EXAMPLES=
\n
"
...
...
@@ -696,7 +696,7 @@ static char *help_days360 = {
"
\n
"
"Note that Gnumeric will perform regular string to serial "
"number conversion for you, so you can enter a date as a "
"string."
"string.
\n
"
"This function is Excel compatible. "
"
\n
"
"@EXAMPLES=
\n
"
...
...
@@ -791,7 +791,7 @@ static char *help_eomonth = {
"EOMONTH returns the last day of the month which is @months "
"from the @start_date."
"
\n
"
"Returns #NUM! if start_date or months are invalid."
"Returns #NUM! if start_date or months are invalid.
\n
"
"This function is Excel compatible. "
"
\n
"
"@EXAMPLES=
\n
"
...
...
@@ -842,7 +842,7 @@ static char *help_workday = {
"from the @start_date. Weekends and holidays optionally "
"supplied in @holidays are respected."
"
\n
"
"Returns #NUM! if @start_date or @days are invalid."
"Returns #NUM! if @start_date or @days are invalid.
\n
"
"This function is Excel compatible. "
"
\n
"
"@EXAMPLES=
\n
"
...
...
@@ -912,7 +912,7 @@ static char * help_networkdays = {
"NETWORKDAYS returns the number of non-weekend non-holidays between "
"@start_date and @end_date. Holidays optionally supplied in @holidays."
"
\n
"
"Returns #NUM if start_date or end_date are invalid"
"Returns #NUM if start_date or end_date are invalid
.
\n
"
"This function is Excel compatible. "
"
\n
"
"@EXAMPLES=
\n
"
...
...
plugins/fn-eng/functions.c
View file @
fbb80817
...
...
@@ -91,7 +91,7 @@ static char *help_bin2dec = {
"@DESCRIPTION="
"BIN2DEC function converts a binary number "
"in string or number to its decimal equivalent.
"
"in string or number to its decimal equivalent.
\n
"
"This function is Excel compatible. "
"
\n
"
"@EXAMPLES=
\n
"
...
...
@@ -117,7 +117,7 @@ static char *help_bin2oct = {
"@places is an optional field, specifying to zero pad to that "
"number of spaces."
"
\n
"
"If @places is too small or negative #NUM! error is returned.
"
"If @places is too small or negative #NUM! error is returned.
\n
"
"This function is Excel compatible. "
"
\n
"
"@EXAMPLES=
\n
"
...
...
@@ -143,7 +143,7 @@ static char *help_bin2hex = {
"hexadecimal number. @places is an optional field, specifying "
"to zero pad to that number of spaces."
"
\n
"
"If @places is too small or negative #NUM! error is returned.
"
"If @places is too small or negative #NUM! error is returned.
\n
"
"This function is Excel compatible. "
"
\n
"
"@EXAMPLES=
\n
"
...
...
@@ -169,7 +169,7 @@ static char *help_dec2bin = {
"@places is an optional field, specifying to zero pad to that "
"number of spaces."
"
\n
"
"If @places is too small or negative #NUM! error is returned.
"
"If @places is too small or negative #NUM! error is returned.
\n
"
"This function is Excel compatible. "
"
\n
"
"@EXAMPLES=
\n
"
...
...
@@ -195,7 +195,7 @@ static char *help_dec2oct = {
"@places is an optional field, specifying to zero pad to that "
"number of spaces."
"
\n
"
"If @places is too small or negative #NUM! error is returned.
"
"If @places is too small or negative #NUM! error is returned.
\n
"
"This function is Excel compatible. "
"
\n
"
"@EXAMPLES=
\n
"
...
...
@@ -221,7 +221,7 @@ static char *help_dec2hex = {
"number. @places is an optional field, specifying to zero pad "
"to that number of spaces."
"
\n
"
"If @places is too small or negative #NUM! error is returned.
"
"If @places is too small or negative #NUM! error is returned.
\n
"
"This function is Excel compatible. "
"
\n
"
"@EXAMPLES=
\n
"
...
...
@@ -244,7 +244,7 @@ static char *help_oct2dec = {
"@DESCRIPTION="
"OCT2DEC function converts an octal number "
"in a string or number to its decimal equivalent.
"
"in a string or number to its decimal equivalent.
\n
"
"This function is Excel compatible. "
"
\n
"
"@EXAMPLES=
\n
"
...
...
@@ -268,7 +268,7 @@ static char *help_oct2bin = {
"@DESCRIPTION="
"OCT2BIN function converts an octal number to a binary "
"number. @places is an optional field, specifying to zero pad "
"to that number of spaces.
"
"to that number of spaces.
\n
"
"This function is Excel compatible. "
"
\n
"
"If @places is too small or negative #NUM! error is returned."
...
...
@@ -294,7 +294,7 @@ static char *help_oct2hex = {
"@DESCRIPTION="
"OCT2HEX function converts an octal number to a hexadecimal "
"number. @places is an optional field, specifying to zero pad "
"to that number of spaces.
"
"to that number of spaces.
\n
"
"This function is Excel compatible. "
"
\n
"
"If @places is too small or negative #NUM! error is returned."
...
...
@@ -322,7 +322,7 @@ static char *help_hex2bin = {
"number. @places is an optional field, specifying to zero pad "
"to that number of spaces."
"
\n
"
"If @places is too small or negative #NUM! error is returned.
"
"If @places is too small or negative #NUM! error is returned.
\n
"
"This function is Excel compatible. "
"
\n
"
"@EXAMPLES=
\n
"
...
...
@@ -348,7 +348,7 @@ static char *help_hex2oct = {
"number. @places is an optional field, specifying to zero pad "
"to that number of spaces."
"
\n
"
"If @places is too small or negative #NUM! error is returned.
"
"If @places is too small or negative #NUM! error is returned.
\n
"
"This function is Excel compatible. "
"
\n
"
"@EXAMPLES=
\n
"
...
...
@@ -371,7 +371,7 @@ static char *help_hex2dec = {
"@DESCRIPTION="
"HEX2DEC function converts a hexadecimal number "
"to its decimal equivalent.
"
"to its decimal equivalent.
\n
"
"This function is Excel compatible. "
"
\n
"
"@EXAMPLES=
\n
"
...
...
@@ -400,7 +400,7 @@ static char *help_besseli = {
"truncated."
"
\n
"
"If @x or @y are not numeric a #VALUE! error is returned. "
"If @y < 0 a #NUM! error is returned.
"
"If @y < 0 a #NUM! error is returned.
\n
"
"This function is Excel compatible. "
"
\n
"
"@EXAMPLES=
\n
"
...
...
@@ -441,7 +441,7 @@ static char *help_besselk = {
"truncated."
"
\n
"
"If x or n are not numeric a #VALUE! error is returned. "
"If y < 0 a #NUM! error is returned.
"
"If y < 0 a #NUM! error is returned.
\n
"
"This function is Excel compatible. "
"
\n
"
"@EXAMPLES=
\n
"
...
...
@@ -480,7 +480,7 @@ static char *help_besselj = {
"truncated."
"
\n
"
"If @x or @y are not numeric a #VALUE! error is returned. "
"If @y < 0 a #NUM! error is returned.
"
"If @y < 0 a #NUM! error is returned.
\n
"
"This function is Excel compatible. "
"
\n
"
"@EXAMPLES=
\n
"
...
...
@@ -517,7 +517,7 @@ static char *help_bessely = {
"truncated."
"
\n
"
"If x or n are not numeric a #VALUE! error is returned. "
"If n < 0 a #NUM! error is returned.
"
"If n < 0 a #NUM! error is returned.
\n
"
"This function is Excel compatible. "
"
\n
"
"@EXAMPLES=
\n
"
...
...
@@ -588,7 +588,7 @@ static char *help_complex = {
"coefficient. If it is omitted, COMPLEX uses 'i' by default."
"
\n
"
"If @suffix is neither 'i' nor 'j', COMPLEX returns #VALUE! "
"error.
"
"error.
\n
"
"This function is Excel compatible. "
"
\n
"
"@EXAMPLES=
\n
"
...
...
@@ -621,7 +621,7 @@ static char *help_imaginary = {
"@SYNTAX=IMAGINARY(inumber)
\n
"
"@DESCRIPTION="
"IMAGINARY returns the imaginary coefficient of a complex "
"number.
"
"number.
\n
"
"This function is Excel compatible. "
"
\n
"
"@EXAMPLES=
\n
"
...
...
@@ -651,7 +651,7 @@ static char *help_imreal = {
N_
(
"@FUNCTION=IMREAL
\n
"
"@SYNTAX=IMREAL(inumber)
\n
"
"@DESCRIPTION="
"IMREAL returns the real coefficient of a complex number.
"
"IMREAL returns the real coefficient of a complex number.
\n
"
"This function is Excel compatible. "
"
\n
"
"@EXAMPLES=
\n
"
...
...
@@ -682,7 +682,7 @@ static char *help_imabs = {
N_
(
"@FUNCTION=IMABS
\n
"
"@SYNTAX=IMABS(inumber)
\n
"
"@DESCRIPTION="
"IMABS returns the absolute value of a complex number.
"
"IMABS returns the absolute value of a complex number.
\n
"
"This function is Excel compatible. "
"
\n
"
"@EXAMPLES=
\n
"
...
...
@@ -713,7 +713,7 @@ static char *help_imconjugate = {
N_
(
"@FUNCTION=IMCONJUGATE
\n
"
"@SYNTAX=IMCONJUGATE(inumber)
\n
"
"@DESCRIPTION="
"IMCONJUGATE returns the complex conjugate of a complex number.
"
"IMCONJUGATE returns the complex conjugate of a complex number.
\n
"
"This function is Excel compatible. "
"
\n
"
"@EXAMPLES=
\n
"
...
...
@@ -744,8 +744,8 @@ static char *help_imcos = {
N_
(
"@FUNCTION=IMCOS
\n
"
"@SYNTAX=IMCOS(inumber)
\n
"
"@DESCRIPTION="
"IMCOS returns the cosine of a complex number.
"
"This function is Excel compatible.
"
"IMCOS returns the cosine of a complex number.
\n
"
"This function is Excel compatible."
"
\n
"
"@EXAMPLES=
\n
"
"IMCOS(
\"
1+j
\"
) equals 0.833730-0.988898j.
\n
"
...
...
@@ -772,7 +772,7 @@ static char *help_imtan = {
N_
(
"@FUNCTION=IMTAN
\n
"
"@SYNTAX=IMTAN(inumber)
\n
"
"@DESCRIPTION="
"IMTAN returns the tangent of a complex number.
"
"IMTAN returns the tangent of a complex number.
\n
"
"This function is Excel compatible. "
"
\n
"
"@EXAMPLES=
\n
"
...
...
@@ -799,8 +799,8 @@ static char *help_imexp = {
N_
(
"@FUNCTION=IMEXP
\n
"
"@SYNTAX=IMEXP(inumber)
\n
"
"@DESCRIPTION="
"IMEXP returns the exponential of a complex number.
"
"This function is Excel compatible.
"
"IMEXP returns the exponential of a complex number.
\n
"
"This function is Excel compatible."
"
\n
"
"@EXAMPLES=
\n
"
"IMEXP(
\"
2-j
\"
) equals 3.992324-6.217676j.
\n
"
...
...
@@ -827,7 +827,7 @@ static char *help_imargument = {
N_
(
"@FUNCTION=IMARGUMENT
\n
"
"@SYNTAX=IMARGUMENT(inumber)
\n
"
"@DESCRIPTION="
"IMARGUMENT returns the argument theta of a complex number.
"
"IMARGUMENT returns the argument theta of a complex number.
\n
"
"This function is Excel compatible. "
"
\n
"
"@EXAMPLES=
\n
"
...
...
@@ -886,7 +886,7 @@ static char *help_imlog2 = {
N_
(
"@FUNCTION=IMLOG2
\n
"
"@SYNTAX=IMLOG2(inumber)
\n
"
"@DESCRIPTION="
"IMLOG2 returns the logarithm of a complex number in base 2.
"
"IMLOG2 returns the logarithm of a complex number in base 2.
\n
"
"This function is Excel compatible. "
"
\n
"
"@EXAMPLES=
\n
"
...
...
@@ -916,7 +916,7 @@ static char *help_imlog10 = {
N_
(
"@FUNCTION=IMLOG10
\n
"
"@SYNTAX=IMLOG10(inumber)
\n
"
"@DESCRIPTION="
"IMLOG10 returns the logarithm of a complex number in base 10.
"
"IMLOG10 returns the logarithm of a complex number in base 10.
\n
"
"This function is Excel compatible. "
"
\n
"
"@EXAMPLES=
\n
"
...
...
@@ -948,8 +948,8 @@ static char *help_impower = {
"@DESCRIPTION="
"IMPOWER returns a complex number raised to a power. @inumber is "
"the complex number to be raised to a power and @number is the "
"power to which you want to raise the complex number.
"
"This function is Excel compatible.
"
"power to which you want to raise the complex number.
\n
"
"This function is Excel compatible."
"
\n
"
"@EXAMPLES=
\n
"
"IMPOWER(
\"
4-j
\"
,2) equals 15-8j.
\n
"
...
...
@@ -982,8 +982,8 @@ static char *help_imdiv = {
N_
(
"@FUNCTION=IMDIV
\n
"
"@SYNTAX=IMDIV(inumber,inumber)
\n
"
"@DESCRIPTION="
"IMDIV returns the quotient of two complex numbers.
"
"This function is Excel compatible.
"
"IMDIV returns the quotient of two complex numbers.
\n
"
"This function is Excel compatible."
"
\n
"
"@EXAMPLES=
\n
"
"IMDIV(
\"
2-j
\"
,
\"
2+j
\"
) equals 0.6-0.8j.
\n
"
...
...
@@ -1016,8 +1016,8 @@ static char *help_imsin = {
N_
(
"@FUNCTION=IMSIN
\n
"
"@SYNTAX=IMSIN(inumber)
\n
"
"@DESCRIPTION="
"IMSIN returns the sine of a complex number.
"
"This function is Excel compatible.
"
"IMSIN returns the sine of a complex number.
\n
"
"This function is Excel compatible."
"
\n
"
"@EXAMPLES=
\n
"
"IMSIN(
\"
1+j
\"
) equals 1.29846+0.63496j.
\n
"
...
...
@@ -1044,8 +1044,8 @@ static char *help_imsqrt = {
N_
(
"@FUNCTION=IMSQRT
\n
"
"@SYNTAX=IMSQRT(inumber)
\n
"
"@DESCRIPTION="
"IMSQRT returns the square root of a complex number.
"
"This function is Excel compatible.
"
"IMSQRT returns the square root of a complex number.
\n
"
"This function is Excel compatible."
"
\n
"
"@EXAMPLES=
\n
"
"IMSQRT(
\"
1+j
\"
) equals 1.09868+0.4550899j.
\n
"
...
...
@@ -1072,8 +1072,8 @@ static char *help_imsub = {
N_
(
"@FUNCTION=IMSUB
\n
"
"@SYNTAX=IMSUB(inumber,inumber)
\n
"
"@DESCRIPTION="
"IMSUB returns the difference of two complex numbers.
"
"This function is Excel compatible.
"
"IMSUB returns the difference of two complex numbers.
\n
"
"This function is Excel compatible."
"
\n
"
"@EXAMPLES=
\n
"
"IMSUB(
\"
3-j
\"
,
\"
2+j
\"
) equals 1-2j.
\n
"
...
...
@@ -1103,8 +1103,8 @@ static char *help_improduct = {
N_
(
"@FUNCTION=IMPRODUCT
\n
"
"@SYNTAX=IMPRODUCT(inumber1[,inumber2,...])
\n
"
"@DESCRIPTION="
"IMPRODUCT returns the product of given complex numbers.
"
"This function is Excel compatible.
"
"IMPRODUCT returns the product of given complex numbers.
\n
"
"This function is Excel compatible."
"
\n
"
"@EXAMPLES=
\n
"
"IMPRODUCT(
\"
2-j
\"
,
\"
4-2j
\"
) equals 6-8j.
\n
"
...
...
@@ -1173,8 +1173,8 @@ static char *help_imsum = {
N_
(
"@FUNCTION=IMSUM
\n
"
"@SYNTAX=IMSUM(inumber,inumber)
\n
"
"@DESCRIPTION="
"IMSUM returns the sum of two complex numbers.
"
"This function is Excel compatible.
"
"IMSUM returns the sum of two complex numbers.
\n
"
"This function is Excel compatible."
"
\n
"
"@EXAMPLES=
\n
"
"IMSUM(
\"
2-4j
\"
,
\"
9-j
\"
) equals 11-5j.
\n
"
...
...
@@ -1291,8 +1291,8 @@ static char *help_convert = {
"'a' atto 1E-18
\n
"
"
\n
"
"If @from_unit and @to_unit are different types, CONVERT returns "
"#NUM! error.
"
"This function is Excel compatible.
"
"#NUM! error.
\n
"
"This function is Excel compatible."
"
\n
"
"@EXAMPLES=
\n
"
"CONVERT(3,
\"
lbm
\"
,
\"
g
\"
) equals 1360.7769.
\n
"
...
...
@@ -1615,7 +1615,7 @@ static char *help_erf = {
"limits of the integral."
"
\n
"
"If either @lower_limit or @upper_limit is not numeric a "
"#VALUE! error is returned.
"
"#VALUE! error is returned.
\n
"
"This function is upward-compatible with that in Excel. "
"(If two arguments are supplied, "
"Excel will not allow either to be negative.) "
...
...
@@ -1689,8 +1689,8 @@ static char *help_delta = {
"arguments returning 1 in case of equality. "
"@y is optional, and defaults to 0."
"
\n
"
"If either argument is non-numeric returns a #VALUE! error.
"
"This function is Excel compatible.
"
"If either argument is non-numeric returns a #VALUE! error.
\n
"
"This function is Excel compatible."
"
\n
"
"@EXAMPLES=
\n
"
"DELTA(42.99,43) equals 0.
\n
"
...
...
@@ -1743,8 +1743,8 @@ static char *help_gestep = {
"GESTEP function test for if @x is >= @y, returning 1 if it "
"is so, and 0 otherwise @y is optional, and defaults to 0."
"
\n
"
"If either argument is non-numeric returns a #VALUE! error.
"
"This function is Excel compatible.
"
"If either argument is non-numeric returns a #VALUE! error.
\n
"
"This function is Excel compatible."
"
\n
"
"@EXAMPLES=
\n
"
"GESTEP(5,4) equals 1.
\n
"
...
...
plugins/fn-info/functions.c
View file @
fbb80817
...
...
@@ -323,7 +323,7 @@ static char *help_countblank = {
"@SYNTAX=COUNTBLANK(range)
\n
"
"@DESCRIPTION="
"COUNTBLANK returns the number of blank cells in a @range.
"
"COUNTBLANK returns the number of blank cells in a @range.
\n
"
"This function is Excel compatible. "
"
\n
"
"@EXAMPLES=
\n
"
...
...
@@ -453,7 +453,7 @@ static char *help_iserror = {
"@SYNTAX=ISERROR(value)
\n
"
"@DESCRIPTION="
"ISERROR returns a TRUE value if the expression has an error
\n
"
"ISERROR returns a TRUE value if the expression has an error
.
\n
"
"This function is Excel compatible. "
"
\n
"
"@EXAMPLES=
\n
"
...
...
@@ -508,7 +508,7 @@ static char *help_isna = {
"@SYNTAX=ISNA(value)
\n
"
"@DESCRIPTION="
"ISNA returns TRUE if the value is the #N/A error value.
"
"ISNA returns TRUE if the value is the #N/A error value.
\n
"
"This function is Excel compatible. "
"
\n
"
"@EXAMPLES=
\n
"
...
...
@@ -543,7 +543,7 @@ static char *help_iserr = {
"@SYNTAX=ISERR(value)
\n
"