Say I have some code:

<input type="text" name="{$valcompname}/@LikelyWeeklyUnfRental" value="{$valcompdata/@LikelyWeeklyUnfRental}" id="RentalValue" style="text-align:right">

I want the text box to output a value in a format $#,##0.##. At the moment I can only get it to display only decimal place. I have tried using the format-number function with that regular expression, but no luck.

Any help is greatly appreciated.

Thanks in advanced

you need to provide some sample inputs and sample outputs. Otherwise it's a bit hard to understand what you need.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.