siginificant number: set format if no infinity