You can't convert a number with decimals (or a fraction) to a whole number, without losing precision. You can round it to the nearest number, or truncate it (just remove the decimals), but in any case, that won't be the same number (just the nearest integer, in case you choose to round it), so "2.8 as a whole number" really doesn't exist.
Chat with our AI personalities