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 3 of 3
  1. #1
    New Coder
    Join Date
    Feb 2007
    Posts
    37
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation display numbers in html with comma separator

    am doing a displaying some data in asp ( data is retreived from the
    oracle database)

    the data are displaying as the following

    income
    152000
    5200000
    8754631


    but i just want to display the above with a comma separator

    like the following


    income
    152,000
    5,200,000
    8,754,631

    how i can do this using html or css

  • #2
    Senior Coder
    Join Date
    Jan 2005
    Location
    Memphis, TN
    Posts
    1,801
    Thanks
    8
    Thanked 131 Times in 129 Posts
    you cant. you need to use something like asp or javascript to do that.

    http://www.jsmadeeasy.com/javascript...ic_entries.htm

    heres a small javascript that may be modifiable to accomplish what you need. Look around in the asp forum as well. someone might already have somethign you could use.
    Stop making things so hard on yourself.
    i is tugbucket :: help raise tugburg :: Whitehaven Kiwanis

  • #3
    New Coder
    Join Date
    Feb 2007
    Posts
    37
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks Alot For That But I Want To Do It In Either
    Html Or Css , I Can Also Retreive It From Oracel With Comma Using To_char Function


  •  

    Posting Permissions

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