?
Solved

simple number conversion

Posted on 2003-03-24
3
Medium Priority
?
123 Views
Last Modified: 2013-12-24
Hi!

I would like to convert a number which comes from an URL parameter to an european standard number. Meaning:
this: 2.2 to this: 2,2.

How is this possible? I tried LSNumberFormat, but it converts 2.2 to 2 if I use it like this: #LSNumberFormat(#URL.sl1#, "____,___")#

Thanks
0
Comment
Question by:BajaRulezII
  • 2
3 Comments
 
LVL 17

Accepted Solution

by:
anandkp earned 300 total points
ID: 8194120
using decimalformat() - u shld be able to convert the number format to "," but this wont affect a change in ur case

if its just that u want the "." to be repalce by "," then u cld just use "ListChangeDelims()" to get thigns done

#LSNumberFormat(#URL.sl1#, "_,_")#

K'Rgds
Anand
0
 

Author Comment

by:BajaRulezII
ID: 8194427
Thanks, ListChangeDelims() was the anwser. It works like a charm!

0
 
LVL 17

Expert Comment

by:anandkp
ID: 8194458
Happy for U

Cheers
Anand
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
The following information will get you familiar with your new DV server, including the (mt) Account Center, the Plesk Control Panel, our world-renowned support department and the rest of the (mt) tools that come with your new service.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Is your organization moving toward a cloud and mobile-first environment? In this transition, your IT department will encounter many challenges, such as navigating how to: Deploy new applications and services to a growing team Accommodate employee…

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question