Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jan 2005
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question display numeric values with commas

    hi
    i have text box which retrieves the numeric value from the backend and displays it. the problem is i want it to be displayed along with commas say if the value is 10000 then it should display it as 10,000 in the text box. is it possible if so how?..
    <input size = 15 type = "text" name ="uscpy" >
    this is the basic code.. what should i add here to make it appear as i said previously or shouldnt i use text box type itself, if so then wot should be done to display the numeric value to the user along with commas.

  • #2
    teh Moderatorinator
    Join Date
    Sep 2004
    Location
    USA
    Posts
    2,472
    Thanks
    4
    Thanked 40 Times in 40 Posts
    You should format it with your "backend". How is the number being populated?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •