+ Reply to Thread
Results 1 to 6 of 6

Thread: Clean Up Your Digits!

  1. #1

    Default Clean Up Your Digits!

    ** This thread discusses the article: Clean Up Your Digits! **
    ** This thread discusses the Content article: Clean Up Your Digits! **
    0

  2. #2

    Default Clean Up Your Digits!

    ** This thread discusses the article: Clean Up Your Digits! **
    What happens with negative numbers? If a number is embedded with either a minus sign (-) or brackets will it get converted to a negative or positive number?

  3. #3

    Default Clean Up Your Digits!

    ** This thread discusses the article: Clean Up Your Digits! **
    If you use %DEC or NumToChar() then negative numbers are converted properly. That is, assuming the minus sign is used as the negative sign. If the number contains "CR" or is enclosed in brackets, it will not be converted to negative.

  4. #4

    Default Clean Up Your Digits!

    ** This thread discusses the article: Clean Up Your Digits! **
    Any suggestions to use XLATE to convert an apostrophe (') to a blank?

  5. #5
    Guest.Visitor Guest

    Default Clean Up Your Digits!

    ** This thread discusses the article: Clean Up Your Digits! **
    myField = %XLate('''':' ':myField); All string literals are enclosed in single quotes and a single quote inside a literal string requires 2 single quotes (double it up). 'Bob''s Book' Chris

  6. #6

    Default Clean Up Your Digits!

    ** This thread discusses the article: Clean Up Your Digits! **
    Thanks. I had remembered to double, but had forgotten the "double" was to double the single apostrophe, not the surrounding delimiters.

+ Reply to Thread

Similar Threads

  1. TechTip: Clean Up Old IFS Files
    By DKDowning in forum COBOL
    Replies: 13
    Last Post: 01-21-2009, 08:36 PM
  2. the best way to clean a single outq
    By gtrevino in forum General
    Replies: 5
    Last Post: 06-17-2005, 05:24 AM
  3. Replies: 6
    Last Post: 02-11-2005, 09:33 AM
  4. Automate Spool file clean
    By Guest.Visitor in forum CL
    Replies: 12
    Last Post: 07-23-2004, 10:21 AM
  5. Clean up Nulls
    By Guest.Visitor in forum RPG
    Replies: 3
    Last Post: 04-06-2004, 06:43 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts