number format fix by Marcelo Henrique Cerri and test