Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
John George — — source: Informix-list mailing list archive (1991-1998)
To convert a char to numberic:
#### Add a Zero
LET numericvar = charvar + 0
{IF IT'S NOT A VALID NUMBER; NUMERICVAR WILL = ZERO }
To convert a numeric to a char:
#### Make sure you have a large char var
LET charvar = numericvar using "some_valid_mask"
Your privacy choices
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.