[BOOTCAMP] Problems assiging token to an address in migration file in Truffle

Hey, as the title says I wrote a migration file for the ERC20 contract I created during bootcamp. However it doesn’t seem to be assigning 100 units of the token to address[2] as indicated in the migration file.

Here is the migration file:

const ERC20 = artifacts.require("ERC20");

module.exports = function(deployer, network, accounts) {
  deployer.deploy(ERC20, "MyToyToken", "MTT").then(function(instance){
        instance.mint(accounts[2], 100);
  });
};

When I try to run

instance.balanceOf(accounts[2])

I get:

<BN: 64>

Shouldn’t I get 100?

Thanks!

Anyone? Help please and thank you!

BN is the representation of the Big Number, you can convert it the result toNumber for example.
https://ethereum.stackexchange.com/questions/29597/how-to-convert-bignumber-to-number-in-truffle-framework

Carlos Z