TIP: Click on subject to list as thread! ANSI
echo: visual_basic
to: All
from: Andreas
date: 2004-07-14 14:35:00
subject: Format at double variable

Hi!

I'm writing a program that has support for multiple language, so far
swedish and english is requested.

everything is fine, but the program has to be able to run on computers
with different language settings. It must for example be possible to
run an english version of the program at a computer where the national
settings is keept a Swedish.

the problem occurs when VB formats real numbers, since in Swedish a
comma "," is used as decimal notation and in english a
"." is used. So
when running the program in english at a "Swedish computer", the comma
is still used as decimal notation. How can i change the print format
of double's without messing with the computer language settings?

Best regards,
Andreas Lundgren
---
þ RIMEGate(tm)/RGXPost V1.14 at BBSWORLD * Info{at}bbsworld.com

---
 * RIMEGate(tm)V10.2áÿ* RelayNet(tm) NNTP Gateway * MoonDog BBS
 * RgateImp.MoonDog.BBS at 7/14/04 2:35:19 PM
* Origin: MoonDog BBS, Brooklyn,NY, 718 692-2498, 1:278/230 (1:278/230)
SEEN-BY: 633/267 270
@PATH: 278/230 10/345 106/1 2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.