Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. truncating the digits after decimal in sql server2000

truncating the digits after decimal in sql server2000

Scheduled Pinned Locked Moved Database
database
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    vivek g
    wrote on last edited by
    #1

    the value 1233.65774858 what i need 1233.65 but i am getting 1233.6500000000 vivek

    R 1 Reply Last reply
    0
    • V vivek g

      the value 1233.65774858 what i need 1233.65 but i am getting 1233.6500000000 vivek

      R Offline
      R Offline
      Rana Muhammad Javed Khan
      wrote on last edited by
      #2

      Use Convert Function convert(decimal(10,2), 1233.65774858) Regards, Javed

      V 1 Reply Last reply
      0
      • R Rana Muhammad Javed Khan

        Use Convert Function convert(decimal(10,2), 1233.65774858) Regards, Javed

        V Offline
        V Offline
        vivek g
        wrote on last edited by
        #3

        thanks mr. khan the method is really cool. vivek -- modified at 4:39 Monday 6th February, 2006

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups