How about printing out the number from the SD card file before multiplying? Are you sure the the negative number is not because of overflow in the multiplication?
Make sure you are reading the data correctly or getting the correct data first.
How about printing out the number from the SD card file before multiplying? Are you sure the the negative number is not because of overflow in the multiplication?
Make sure you are reading the data correctly or getting the correct data first.