I have a simple script which will check an object to ensure that the local pivots match the object origin because our exporter from maya to our game engine does not support maya's notion of individual rotate and scale pivots.
However, even when the local rotate and scale pivots are "zero", both in the attribute editor and when I query them using "xform", the values are not truely zero.
I can only truely set the pivot values to zero when i use "xform" to set them to zero.