18.08.2013 Views

LINC Programming Reference Manual - Public Support Login - Unisys

LINC Programming Reference Manual - Public Support Login - Unisys

LINC Programming Reference Manual - Public Support Login - Unisys

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Example 2<br />

continued<br />

LEFT.ALIGN (LA)<br />

NUMIN Value NUMIN DECIMALS; ALPHOUT (LENGTH; 9)<br />

123.45 4 123.4500b<br />

-724 None -724bbbbb<br />

-123.45 3 -123.450b<br />

-123.45 6 -123.4500<br />

-12345.6789 4 -12345.67<br />

The following command is included in logic:<br />

<br />

Results for non-zero values are as for Example 1. Results for zero values are shown in the<br />

following table.<br />

NUMIN Value NUMIN DECIMALS; ALPHOUT (LENGTH; 9)<br />

0 None 0bbbbbbbb<br />

0 1+ .0bbbbbbb<br />

Example 3 (With Decimal Character)<br />

The following command is included in logic:<br />

<br />

Results for whole number values are as for example 1. Results for other values are shown<br />

in the following table.<br />

NUMIN Value NUMIN DECIMALS; ALPHOUT (LENGTH; 9)<br />

0 None bbbbbbbbb<br />

0 4 ,0000bbbb<br />

123.45 2 123,45bbb<br />

-123.45 3 -123,450b<br />

0.12 2 ,12bbbbbb<br />

continued<br />

v 1-149

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!