|
-
Sep 17th, 2009, 10:29 PM
#1
[RESOLVED] Better way to get locale's decimal character?
I know I've seen this posted several times on the forum but searching didn't bring up anything relevant.
I want to know how to get the decimal character for the current locale/regional settings.
Example: Most use a standard period as decimal, while other countries use a comma.
Right now, I just did a small "hack" and I'm not sure how reliable it will be:
MsgBox Mid$(CStr(Format(0, "fixed")), 2, 1)
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|