lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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