Lachlan Hunt wrote:
[color=blue]
> koray wrote:
>[color=green]
>> hi,
>> i need to show large numbers seperated by commas. since i'm using
>> variables from speedscript, i cannot know their values, since the user
>> should enter them. how should i code to show these large numbers in
>> comma(or pointed)-style?[/color]
>
> This coding cannot be done directly with HTML. You need to use
> either server side or client side scripting in order to format the
> numbers. I recommend server side, unless your willing to accept that
> for users with javascript disabled or unsupported, the numbers will
> degrade to being unformatted. Either way, this is not the correct
> newsgroup to ask in. Please ask in a newsgroup for server side or
> client side scripting — whichever is appropriate for your needs and
> choice of language.[/color]
Note also that different countries use different seperators:
For 1234567 and 98 thousandths:
1,234,567·098
1,234,567.098
1.234.567,098
The first is used in the UK (but usually we're lazy and use . instead of
·) and probably lots of other places, the second in the US and elsewhere,
the third in much of Europe (and probably elsewhere too). To avoid
confusion, you might be better off using no-break spaces:
1 234 567.098
1 234 567,098
1 234 567·098
--
Matt
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----