fix issue #231: 0%0 is 0N, 0%0.0 is 0n