Can you actually use that calculation to determine the number of sectors?
I would prefer to do it the other way (get the number of blocks from the data sheet and use the capacity to check if my calculations are right), but yes, it should work this way, too.
=> #sectors=18,300x10^6/512 which is not a whole number.
Yes, but it is almost a whole number. The result is 35,742,187.5. I guess the disk has 35,742,188 blocks, then the capacity is 18,300,000,256 Bytes, which is little more than 18,300 million or 18.3 billion.
Bye,
Thomas