Ensure a positive integer.
Return 1 if calculated int is 0.