I want to use number as normal integer, not in decimal.
For example, when I use uniswap function
IUniswapV2Router02Instance.methods.swapETHForExactTokens(1, , , ).send() in my project, an argument integer (1) is recognized as decimal (0.000000000000000001) .
This is the transaction on etherscan. https://ropsten.etherscan.io/tx/0x14d16174a7b12c1a77356b60b1fca7385c7cad583991d70b8a4423faf6198e43
Does anyone know why this problem happens and how to solve, please?