954,517 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Number formatting problem

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

f_atencia
Junior Poster in Training
53 posts since Aug 2009
Reputation Points: 10
Solved Threads: 4
 

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

JohnBampton
Newbie Poster
15 posts since Feb 2011
Reputation Points: 10
Solved Threads: 6
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You