ngCordova appversione clarification


hi all im using ngcordova to retreive app information like version, versioncode etc…when i try to print versioncode the number i get is much longer than i expect. my android version code is 18 and the build number is 100008 is just a matter of format?..could you please clarify to me this point?
thanks in advance:D