In build/details.js, the postal codes from the database(s) are converted to Number. As far as I know, it is usual to store them as String, since some postal codes begin with 0 (which is lost in conversion to Number).
Also, while converting the String to Number yourself is pretty easy, the re-adding of the missing digit is comparatively hard.
Therefore, I propose to change/normalize(?) this behaviour and to remove the conversion by default.
In
build/details.js
, the postal codes from the database(s) are converted toNumber
. As far as I know, it is usual to store them asString
, since some postal codes begin with0
(which is lost in conversion toNumber
). Also, while converting theString
toNumber
yourself is pretty easy, the re-adding of the missing digit is comparatively hard. Therefore, I propose to change/normalize(?) this behaviour and to remove the conversion by default.