Function - Returning null, not 0

I have a function to calculate shipping rates that sometimes should return 0, when that occurs it returns null. Even if I create a function and manually return 0, it is converted to null.

I tried "to_int" but this had no effect.

12 replies