Results 1 to 2 of 2

Thread: extra zeros at the end of money string

  1. #1

    Thread Starter
    Fanatic Member drpcken's Avatar
    Join Date
    Apr 2004
    Location
    devenv
    Posts
    591

    extra zeros at the end of money string

    I'm pulling some values from sql into a textbox in my aspx page.

    However when it fills the text box it looks like this: 99.0000
    The datatype in sql is a money

    How can I trim or clip the 2 extra zeros off?

    THANKS!

  2. #2
    Member
    Join Date
    Aug 2003
    Posts
    51
    You can use the Round() or Format() 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
  •  



Click Here to Expand Forum to Full Width