Re: comma as decimal point?
- From: "Kim" <kim@xxxxxxxxxxx>
- Date: Fri, 12 Jan 2007 22:22:11 +0200
You mean using ASP and the Jet engine?I have to sum up these numbers later, can't use string for that (?)
The above should be named a string, numbers have no points or commas.
usng ASP-vbs:
s1 = "22.5"
s2 = replace(s1,".",",")
usng ASP-jscript:
s1 = '22.5';
s2 = s1.replace(/\./,',');
This won't work, if I use 22,5 it gets rounded up to 23
So why do you need it then?
The field mut be an integer field.
id I use 22.5 (which i can't anyway for other reasons) nothing getsstored at all. ?
Wouldn't it be sensible to show your code, only the offending part please!
Kim
.
- Follow-Ups:
- Re: comma as decimal point?
- From: Evertjan.
- Re: comma as decimal point?
- References:
- comma as decimal point?
- From: Kim
- Re: comma as decimal point?
- From: Evertjan.
- comma as decimal point?
- Prev by Date: Re: Exec Scheduled Job on SQL Server
- Next by Date: Re: comma as decimal point?
- Previous by thread: Re: comma as decimal point?
- Next by thread: Re: comma as decimal point?
- Index(es):
Relevant Pages
|
Loading