Results 1 to 3 of 3

Thread: Get the decimal separator from the Windows regional settings

  1. #1

    Thread Starter
    Hyperactive Member maxl's Avatar
    Join Date
    Jan 2002
    Location
    Montréal
    Posts
    384

    Get the decimal separator from the Windows regional settings

    Is there anyway I can do that ??
    COBOL sa suce !!!

  2. #2
    Hyperactive Member
    Join Date
    Feb 2001
    Posts
    421
    Check out the GetCurrencyFormat API, that may be of some help.
    [vbcode]
    ' comment
    Rem remark
    [/vbcode]

  3. #3
    PowerPoster
    Join Date
    Aug 2000
    Location
    India
    Posts
    2,288
    Just a thought:
    Convert "3.3" to currency using CCur. Now convert it back to string and get the second digit to get the seperator.

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