TRUNC

From STX Wiki
Jump to navigationJump to search

Convert A to integer, truncate fractional part.

[SPU TRUNC A OUT Y]

In Out Description
Anumber Ynumber Y = int(A)
Avector Yvector Y[i] = int(A[i])

with: 0 ≤ i < length of Avector

See also

<SP-atoms>

Navigation menu

Personal tools