CashScript / cashscript

⚖️ Easily write and interact with Bitcoin Cash smart contracts
https://cashscript.org
MIT License
111 stars 77 forks source link

Consider allowing underscores in ints #171

Open mr-zwets opened 8 months ago

mr-zwets commented 8 months ago

int conversionToBch = 100_000_000;

reads better and is more easily auditable than

int conversionToBch = 100000000;

This feature is also allowed in Javascript & Solidity.

https://docs.soliditylang.org/en/latest/types.html#rational-and-integer-literals