Page History
...
| Value | Description |
|---|---|
| 0 | Successful conversion. |
| 1 | The data in string cannot be converted using conversion. |
| 2 | conversion 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, MB; IConv 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") |