"oteacher" <webforumsuser@macromedia.com> wrote in
message
news:el7n0e$7an$1@forums.macromedia.com...
> How to insert a number using comma as a decimal
separator?
It's not going to work. You'll have to do a find and replace.
myNumber =
Replace(Replace(Request.Form("numberField"),".",""),",",".")
The inner replace removes all decimal points (because you
indicated that
might be used as a thousands separator), then the outer
replace replaces all
commas with decimal points. Using FormatNumber when you write
the number to
the screen will format it as you're used to, but the number
must be inserted
with a regular decimal point.