?
Solved

simple number conversion

Posted on 2003-03-24
3
Medium Priority
?
121 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Article by: kevp75
Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
Lease-to-own eliminates the expenditure of hardware replacement and allows you to pay off the server over time. Usually, this is much cheaper than leasing servers. Think of lease-to-own as credit without interest.
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses
Course of the Month11 days, 5 hours left to enroll

770 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