What happens if you cast double to int?

As we know double value can contain decimal digits (digits after decimal point), so when we convert double value with decimal digits to int value, the decimal digits are truncated .

Sizin İçin Seçtik  Can you transfer money from Coinbase wallet to bank account?

Leave a Reply

Your email address will not be published. Required fields are marked *