seems that this isn´t an integer… b27.2

use FormatValue (String) instead.

Had the same issue and made a demo patch to post it, before i saw this thread. Perhaps it helps. Tested under 26, 27.1, 28.1 with different results.
FormatValue (String) is also a good solution for me.

Patch with description (12.6 kB)