Double types and int types are stored differently in memory.
Reading double type in the way of int type will naturally have problems.