number format in axis2c

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

number format in axis2c

Atanacio Reyes
axis2c users:

I installed axis2c from binaries in ubuntu linux 12.04. But floating point numbers displays them with comma when serializing.
example:
<number>25.04</number> is serialized as <number>25,04</number>

If I run the axis_http_server, in each response ends with:
Request served in 0,125 seconds.

and should end with:
Request served in 0.125 seconds.

the system locale is:
LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

how I can configure the floating point number format?

thanks.

Reply | Threaded
Open this post in threaded view
|

RE: number format in axis2c

George Loring

Is it just with serialization?  What happens if you just print the value to a log or something.  Do you still get a comma?

 

From: Atanacio Reyes [mailto:[hidden email]]
Sent: Wednesday, August 01, 2012 9:40 PM
To: Apache AXIS C User List
Subject: number format in axis2c

 

axis2c users:

 

I installed axis2c from binaries in ubuntu linux 12.04. But floating point numbers displays them with comma when serializing.

example:
<number>25.04</number> is serialized as <number>25,04</number>

 

If I run the axis_http_server, in each response ends with:

Request served in 0,125 seconds.

 

and should end with:

Request served in 0.125 seconds.

 

the system locale is:

LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

 

how I can configure the floating point number format?

 

thanks.

 

This email and any files transmitted with it are confidential and intended solely for the individual or entity to whom they are addressed. If you have received this email in error destroy it immediately. *** Walmart Confidential ***