hmark Posted March 30, 2010 Share Posted March 30, 2010 I'm currently using decimal(10,4) and allowing NULL. In addition i'm using round($row[3]). When I do this, I end up getting 0s when I query results. What can I do to avoid this? I've tried different things and tried looking thru archived help and haven't found anything that works. Thanks in advance. Link to comment https://forums.phpfreaks.com/topic/197013-zeros-with-null-values/ Share on other sites More sharing options...
fenway Posted April 3, 2010 Share Posted April 3, 2010 That's PHP, not mysql. Link to comment https://forums.phpfreaks.com/topic/197013-zeros-with-null-values/#findComment-1036436 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.