Results 1 to 2 of 2

Thread: Float data types

  1. #1
    Join Date
    Jan 2003
    Location
    UK
    Posts
    55

    Float data types

    I've got a float data type in a table. I imported data from a csv file. One value was 0.5195, but when I use the value in a calculation or select it using the Query Analyser, I'm getting a value of 0.51949999999999996. Is there any way around this, it's a real pain?

    Thanks in advance.

  2. #2
    Join Date
    Sep 2002
    Posts
    169
    use the decimal datatype instead.

Posting Permissions

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