Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ValueDescription
0Successful conversion.
1The data in string cannot be converted using conversion.
2conversion is not a recognized conversion specification.

See also

IConv Boolean (B)IConv Date (D)IConv DateTime (DT)IConv Masked Decimal (MD), (MC)IConv Masked Scientific (MS)IConv MX, HEX, MO, MBIConv Time (MT)IConv Variable Binary (VB)OConv()IConv ENCRYPT_FORMAT

Example

Code Block
* Converts 100.00 to 10000, and assigns the value to X.
X = IConv(100.00, "MD2")
 
/* Converts January 28, 2009 to internal date format, 15004, and assigns that value to D. */
D = IConv("1-28-09", "D")
 
/* Converts 1:00 PM to internal time format, 46800, and assigns that value to T. */
T = IConv("1:00PM", "MT")