title: Length of a float as a string
body: <p>I have a table with a float type column. Most values are like 5.67 but there are some weird ones like 5.44567999999999995</p>
  
  <p>How can I count how many weird ones do I have? What do I have to change in the 2nd select, to give me the result as the 3rd select?</p>
  
  <pre><code>declare @a as float
  set @a = 5.44567999999999995
  select @a
  select LEN(CONVERT(VARCHAR(50), ISNULL(@a, 0)))
  select LEN('5.44567999999999995')
  </code></pre>