(Expected converted type) var // For example, convert the variable var of double into int, (int)var.
Only the value before the decimal point will be preserved in the previous conversion. If you need to achieve "rounding", you must handle it yourself.