Jump to content

zeros with null values


hmark

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.