11.04.2013 Views

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

ICONV Packed Decimal (MP)<br />

Syntax<br />

ICONV(expr, "MP")<br />

Description<br />

The ICONV packed decimal (MP) function converts an integer expr into packed<br />

decimal representation by compressing two digits of the integer into one byte.<br />

UniData returns the input value if either the value to be converted or the conversion<br />

code is invalid.<br />

Tip: Use this function to conserve disk space.<br />

In BASICTYPE P, ICONV returns an empty string if UDT.OPTIONS 56 is on and the<br />

input value or conversion code is invalid.<br />

Related Command<br />

<strong>UniBasic</strong><br />

OCONV Packed Decimal (MP)<br />

ICONV Packed Decimal (MP) 1-350

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

Saved successfully!

Ooh no, something went wrong!