[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Locale problem
- From: Stoil Todorov <torpedo_st@...>
- Date: Mon, 12 Jan 2004 08:29:06 -0800 (PST)
Hi, All.
I have the next problem:
I use Lua 5.0 and I want my code to not be dependented
by locale "decimal symbol".
I decide to use the point as decimal symbol, but if in
Windows is chosen comma as decimal symbol, Lua show
error...
I want to change locale settings in my program at the
begining and when Lua finish, to restore settings for
Number:decimal symbols...
I see that I have to use
os.setlocale("numeric","..."), but I dont know exactly
how:-(
Can you anybody help me?
__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus