forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexp10.lcdoc
More file actions
44 lines (27 loc) · 898 Bytes
/
exp10.lcdoc
File metadata and controls
44 lines (27 loc) · 898 Bytes
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
Name: exp10
Type: function
Syntax: the exp10 of <number>
Syntax: exp10(<number>)
Summary:
<return|Returns> the <decimal> exponential of a number.
Introduced: 1.0
OS: mac, windows, linux, ios, android
Platforms: desktop, server, mobile
Example:
exp10(2) -- returns 100
Example:
exp10(-3) -- returns 0.001
Parameters:
number:
A real number, or an expression that evaluates to a number.
Returns:
The <exp10> function <return|returns> a positive number.
Description:
Use the <exp10> function to obtain a power of 10.
The expression exp10(number) is equal to 10^number.
If <number> is a positive <integer>, exp10(number) is a 1 followed by
<number> zeros. If <number> is a <negative> <integer>, exp10(number) is
a decimal point followed by <number> -1 zeros and a one.
References: exp (function), negative (glossary), return (glossary),
decimal (glossary), integer (keyword)
Tags: math