How do i ignore digits after the decimal. for example, 5678.79, i want to save the integer as 5678.

If i wanted to round the number up before saving it, how would i do this? for example, 5678.79 becomes 5679?

if the number is 5678.39, will this round to 5679 or round to 5678?

Thanks