Table write() method not updating if values not changed?

Hi,

I select forupdate a record in a table.

Lets say: table.field1 = A, field2 = B, field 3 = C

Then I do some calculations and the result is A,B and C

When I then call table.write() method, will X++ update the record or is it smart enough to see that the values has not changed?

I ask this because the modified date is not changed on the record. But want to know for sure.

Thanks