Only use float numbers where necessary.