Results 1 to 2 of 2

Thread: Formatting from 0025 to 25

  1. #1

    Thread Starter
    Member
    Join Date
    Mar 2002
    Posts
    42

    Formatting from 0025 to 25

    Hey everyone, I have another formatting question.

    I have a file that is FTPed to me daily. I use SQLLOADER to insert the data into an Oracle database. The problem is the fields are isnerted by fix width. That means that the field that contains the numbers I have are out of wacked. Here is that I need:

    The number coming out of the DB is 000025000

    I need to cut the leading zeros off, any help?

    Thansk again...

  2. #2
    Frenzied Member John McKernan's Avatar
    Join Date
    Jan 2002
    Location
    SE PA
    Posts
    1,295
    VB Code:
    1. 'To include commas:
    2. Format(number, "#,##0")
    3.  
    4. 'no commas
    5. Fomat(number, "###0")
    6.  
    7. 'decimals
    8. Format(number, "#,##0.0000###")

Posting Permissions

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



Click Here to Expand Forum to Full Width