float field default

Discussion in 'MySQL' started by promotingspace.net, Aug 31, 2008.

  1. #1
    Hi
    I have float fields in my mysql db ( for price). it shows zeros when there is noting as default. i don't want that zeros. what can i do?
    thanks
     
    promotingspace.net, Aug 31, 2008 IP
  2. LuisMiranda

    LuisMiranda Peon

    Messages:
    35
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Maybe you can make it to allow NULLs so when there is nothing it will be nothing and not zeros, not sure what do you want.
     
    LuisMiranda, Aug 31, 2008 IP