No, 180 degrees is not equal to 1 radian. 1 radian is 57.2957795 degrees.
I thought the same thing would happen at runtime since it has to do the same calculation. Perhaps it's rounding it slightly (which the text object does by default for example), or in the past we've had issues where the exporter uses a different precision.