summaryrefslogtreecommitdiffstats
path: root/kspread/extensions/information.xml
blob: 0e4bd5b4c447d7a4349e05f2de71df392b6d4190 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
<!DOCTYPE KSpreadFunctions>
<KSpreadFunctions>

  <Group>
    <GroupName>Information</GroupName>

    <Function>
      <Name>N</Name>
      <Type>Int</Type>
      <Parameter>
	<Comment>Value</Comment>
	<Type>Any</Type>
      </Parameter>
      <Help>
	<Text>The N() function converts a value to a number. If value is or refers to a number, this function returns the number. If value is True, this function returns 1. If a value is a date, this function returns the serial number of that date. Anything else will cause the function to return 0.</Text>
	<Syntax>N(value)</Syntax>
	<Example>N(3.14) returns 3.14</Example>
	<Example>N("7") returns 0 (because "7" is text)</Example>
      </Help>
    </Function>

    <Function>
      <Name>INFO</Name>
      <Type>String</Type>
      <Parameter>
	<Comment>Type of information</Comment>
	<Type>String</Type>
      </Parameter>
      <Help>
	<Text>The INFO() function returns information about the current operating environment. Parameter type specifies what type of information you want to return. It is one of the following: "directory" returns the path of the current directory, "numfile" returns the number of active documents, "release" returns the version of KSpread as text, "recalc" returns the current recalculation mode: "Automatic" or "Manual", "system" returns the name of the operating environment, "osversion" returns the current operating system.</Text>
	<Syntax>INFO(type)</Syntax>
      </Help>
    </Function>

    <Function>
      <Name>ISLOGICAL</Name>
      <Type>Boolean</Type>
      <Parameter>
	<Comment>Any value</Comment>
	<Type>Any</Type>
      </Parameter>
      <Help>
	<Text>The ISLOGICAL() function returns True if the parameter is a boolean value. Otherwise it returns False.</Text>
	<Syntax>ISLOGICAL(x)</Syntax>
	<Example>ISLOGICAL(A1>A2) returns True</Example>
	<Example>ISLOGICAL(12) returns False</Example>
      </Help>
    </Function>

    <Function>
      <Name>ISBLANK</Name>
      <Type>Boolean</Type>
      <Parameter>
	<Comment>Any value</Comment>
	<Type>Any</Type>
      </Parameter>
      <Help>
	<Text>The ISBLANK() function returns True if the parameter is empty. Otherwise it returns False.</Text>
	<Syntax>ISBLANK(x)</Syntax>
	<Example>ISBLANK(A1) returns True if A1 is empty</Example>
	<Example>ISBLANK(A1) returns False if A1 holds a value</Example>
      </Help>
    </Function>

    <Function>
      <Name>ISNUMBER</Name>
      <Type>Boolean</Type>
      <Parameter>
	<Comment>Any value</Comment>
	<Type>Any</Type>
      </Parameter>
      <Help>
	<Text>The ISNUMBER() function returns True if the parameter is a numerical value. Otherwise it returns False. It's the same as ISNUM.</Text>
	<Syntax>ISNUMBER(x)</Syntax>
	<Example>ISNUMBER(12) returns True</Example>
	<Example>ISNUMBER(hello) returns False</Example>
  <Related>ISNUM</Related>
      </Help>
    </Function>

    <Function>
      <Name>ISNUM</Name>
      <Type>Boolean</Type>
      <Parameter>
	<Comment>Any value</Comment>
	<Type>Any</Type>
      </Parameter>
      <Help>
	<Text>The ISNUM() function returns True if the parameter is a numerical value. Otherwise it returns False. It's the same as ISNUMBER.</Text>
	<Syntax>ISNUM(x)</Syntax>
	<Example>ISNUM(12) returns True</Example>
  <Example>ISNUM(hello) returns False</Example>
  <Related>ISNUMBER</Related>
      </Help>
    </Function>

    <Function>
      <Name>ISTIME</Name>
      <Type>Boolean</Type>
      <Parameter>
	<Comment>Any value</Comment>
	<Type>Any</Type>
      </Parameter>
      <Help>
	<Text>The ISTIME() function returns True if the parameter is a time value. Otherwise it returns False.</Text>
	<Syntax>ISTIME(x)</Syntax>
	<Example>ISTIME("12:05") returns True</Example>
	<Example>ISTIME("hello") returns False</Example>
      </Help>
    </Function>

    <Function>
      <Name>ISDATE</Name>
      <Type>Boolean</Type>
      <Parameter>
	<Comment>Any value</Comment>
	<Type>Any</Type>
      </Parameter>
      <Help>
	<Text>The ISDATE() function returns True if the parameter is a date value. Otherwise it returns False</Text>
	<Syntax>ISDATE(x)</Syntax>
	<Example>ISDATE("2000-2-2") returns True</Example>
	<Example>ISDATE("hello") returns False</Example>
      </Help>
    </Function>

    <Function>
      <Name>ISREF</Name>
      <Type>Boolean</Type>
      <Parameter>
	<Comment>Any value</Comment>
	<Type>Any</Type>
      </Parameter>
      <Help>
	<Text>The ISREF() function returns True if the parameter refers to a reference. Otherwise it returns False</Text>
	<Syntax>ISREF(x)</Syntax>
	<Example>ISREF(A12) returns true</Example>
	<Example>ISREF("hello") returns false</Example>
      </Help>
    </Function>

    <Function>
      <Name>ISTEXT</Name>
      <Type>Boolean</Type>
      <Parameter>
	<Comment>Any value</Comment>
	<Type>Any</Type>
      </Parameter>
      <Help>
	<Text>The ISTEXT() function returns True if the parameter is a string. Otherwise it returns False</Text>
	<Syntax>ISTEXT(x)</Syntax>
	<Example>ISTEXT(12) returns False</Example>
	<Example>ISTEXT("hello") returns True</Example>
      </Help>
    </Function>

    <Function>
      <Name>ISNONTEXT</Name>
      <Type>Boolean</Type>
      <Parameter>
	<Comment>Any value</Comment>
	<Type>Any</Type>
      </Parameter>
      <Help>
	<Text>The ISNONTEXT() function returns True if the parameter is not a string. Otherwise it returns False. It's the same as ISNOTTEXT.</Text>
	<Syntax>ISNONTEXT(x)</Syntax>
	<Example>ISNONTEXT(12) returns True</Example>
  <Example>ISNONTEXT("hello") returns False</Example>
  <Related>ISNOTTEXT</Related>
      </Help>
    </Function>

    <Function>
      <Name>ISNOTTEXT</Name>
      <Type>Boolean</Type>
      <Parameter>
	<Comment>Any value</Comment>
	<Type>Any</Type>
      </Parameter>
      <Help>
	<Text>The ISNOTTEXT() function returns True if the parameter is not a string. Otherwise it returns False. It's the same as ISNONTEXT.</Text>
	<Syntax>ISNOTTEXT(x)</Syntax>
	<Example>ISNOTTEXT(12) returns True</Example>
  <Example>ISNOTTEXT("hello") returns False</Example>
  <Related>ISNONTEXT</Related>
      </Help>
    </Function>

    <Function>
      <Name>ISODD</Name>
      <Type>Boolean</Type>
      <Parameter>
	<Comment>Any value</Comment>
	<Type>Any</Type>
      </Parameter>
      <Help>
	<Text>The ISODD() function returns True if the number is odd. Otherwise returns False.</Text>
	<Syntax>ISODD(x)</Syntax>
	<Example>ISODD(12) returns False</Example>
	<Example>ISODD(-7) returns True</Example>
      </Help>
    </Function>

    <Function>
      <Name>ISEVEN</Name>
      <Type>Boolean</Type>
      <Parameter>
	<Comment>Any value</Comment>
	<Type>Any</Type>
      </Parameter>
      <Help>
	<Text>The ISEVEN() function returns True if the number is even. Otherwise returns False.</Text>
	<Syntax>ISEVEN(x)</Syntax>
	<Example>ISEVEN(12) returns True</Example>
	<Example>ISEVEN(-7) returns False</Example>
      </Help>
    </Function>

    <Function>
      <Name>ISERR</Name>
      <Type>Boolean</Type>
      <Parameter>
	<Comment>Any value</Comment>
	<Type>Any</Type>
      </Parameter>
      <Help>
	<Text>The ISERR() function returns True if its parameter is an error other than N/A. Otherwise, it returns False. Use ISERROR() if you want to include the N/A error as well.</Text>
	<Syntax>ISERR(x)</Syntax>
        <Related>ISERROR</Related>
        <Related>ISNA</Related>
      </Help>
    </Function>

    <Function>
      <Name>ISERROR</Name>
      <Type>Boolean</Type>
      <Parameter>
	<Comment>Any value</Comment>
	<Type>Any</Type>
      </Parameter>
      <Help>
	<Text>The ISERROR() function returns True if its parameter is an error of any type. Otherwise, it returns False.</Text>
	<Syntax>ISERROR(x)</Syntax>
        <Related>ISERR</Related>
        <Related>ISNA</Related>
      </Help>
    </Function>

    <Function>
      <Name>ISNA</Name>
      <Type>Boolean</Type>
      <Parameter>
	<Comment>Any value</Comment>
	<Type>Any</Type>
      </Parameter>
      <Help>
	<Text>The ISNA() function returns True if its parameter is a N/A error. In all other cases, it returns False.</Text>
	<Syntax>ISNA(x)</Syntax>
        <Related>ISERR</Related>
        <Related>ISERROR</Related>
      </Help>
    </Function>

   <Function>
      <Name>TYPE</Name>
      <Type>Int</Type>
   <Function>
      <Name>TYPE</Name>
      <Type>Int</Type>
   <Function>
      <Name>TYPE</Name>
      <Type>Int</Type>
      <Parameter>
	<Comment>Any value</Comment>
	<Type>Any</Type>
      </Parameter>
      <Help>
	<Text>The TYPE() function returns 1 if the value is a number, 2 if it is text, 4 if the value is a logical value, 16 if it is an error value or 64 if the value is an array. If the cell the value represents contains a formula you get its return type.</Text>
	<Syntax>TYPE(x)</Syntax>
	<Example>TYPE(A1) returns 2, if A1 contains "Text"</Example>
	<Example>TYPE(-7) returns 1</Example>
	<Example>TYPE(A2) returns 1, if A2 contains "=CURRENTDATE()"</Example>
      </Help>
    </Function>
    
    <Function>
      <Name>FILENAME</Name>
      <Type>String</Type>
      <Help>
	<Text>Returns the current filename. If the current document is not saved, an empty string is returned.</Text>
	<Syntax>FILENAME()</Syntax>
	</Help>
    </Function>

  </Group>

</KSpreadFunctions>