blob: fb4f6fc4718156d9b819a3c36c6e12959b57d697 (
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
|
% CPSC-FUNCTION-NUM_TO_STR(7)
# NAME
cpsc-function-num_to_str - convert a number to text
# SYNOPSIS
```text
NUM_TO_STR(number : INTEGER or REAL) RETURNS STRING
```
# DESCRIPTION
Format INTEGER as signed decimal text and REAL with six digits after the
decimal point.
# EXAMPLE
```text
OUTPUT NUM_TO_STR(42), " ", NUM_TO_STR(3.5)
```
# SEE ALSO
[cpsc-language-overview(7)](../cpsc-language-overview.7.md), [cpsc-function-str_to_num(7)](cpsc-function-str_to_num.7.md).
|