Sales Invoice-distance field is some how a float,I want to change it int?

The sales Distance field is somehow a float, I want to change it to INT,
It want to change to int from float,it can not be changed.

You can try change it by customize form…

I get the alert that I can’t change it to int from float

You can’t change the fieldtype once you created or default field. You can add more field and set the logic according to the scenario.

I think, it a custom field…

  1. you can first delete it and add same field with change field type…

or

  1. You can change it by property setter…