support of zero denominator  = '0'

Signed-off-by: aLekSer <gdocse@gmail.com>