Leading zeros in Custom Parameter

When I make a custom parameter value with leading zeros, for instance


and save it as a .glyphs file, it will be serialized as follows:

name = myCustomParameter;
value = 0000000012345678;

The value will be parsed as an integer when I reopen the .glyphs file, meaning that the leading zeros cannot be stored in a custom parameter. How should I handle this type ambiguity in Glyphs?

I’ll have a look at it.

I noticed a similar thing: When I enter a period . as the CP value, it turns into a 0 when the file is reopened.

Confirmed that it’s now fixed including the case @jkutilek mentioned. Thanks!