1 |
<html> |
2 |
<head> |
3 |
<meta name="author" content="Christian Schoenebeck"> |
4 |
<title>int_to_real() function</title> |
5 |
<meta name="description" content="Type cast from integer number to real number."> |
6 |
</head> |
7 |
<body> |
8 |
<h1>int_to_real()</h1> |
9 |
<p> |
10 |
Performs a type cast from integer number to real number, which means |
11 |
it converts the passed <code lang="nksp">??int-number??</code> to a real number |
12 |
and returns the latter as result value. |
13 |
</p> |
14 |
|
15 |
<h3>Function Prototype</h3> |
16 |
<p/> |
17 |
<code lang="nksp"> |
18 |
int_to_real(??int-number??) |
19 |
</code> |
20 |
|
21 |
<h3>Arguments</h3> |
22 |
<table> |
23 |
<tr> |
24 |
<th>Argument Name</th> <th>Data Type</th> <th>Description</th> |
25 |
</tr> |
26 |
<tr> |
27 |
<td><code>??int-number??</code></td> |
28 |
<td>Integer Number</td> |
29 |
<td>The integer number to be converted.<br> |
30 |
[required]</td> |
31 |
</tr> |
32 |
</table> |
33 |
|
34 |
<h3>Return Value</h3> |
35 |
<table> |
36 |
<tr> |
37 |
<th>Data Type</th> <th>Description</th> |
38 |
</tr> |
39 |
<tr> |
40 |
<td>Real Number</td> |
41 |
<td>Real Number representation of the passed Integer Number.</td> |
42 |
</tr> |
43 |
</table> |
44 |
|
45 |
<h3>Remarks</h3> |
46 |
<p> |
47 |
This functions accepts any standard unit and finalness for its argument <code>??int-number??</code>. |
48 |
The return value's standard unit and finalness is identical to the passed <code>??int-number??</code>'s one. |
49 |
</p> |
50 |
|
51 |
<h3>Examples</h3> |
52 |
<p>None yet.</p> |
53 |
|
54 |
<h3>See also</h3> |
55 |
<p><code>real()</code>, <code>real_to_int()</code><p> |
56 |
|
57 |
<h3>Availability</h3> |
58 |
<p>Since LinuxSampler 2.1.1.svn6.<p> |
59 |
|
60 |
</body> |
61 |
</html> |