output error as float instead of integer