Skip to content Skip to sidebar Skip to footer
Showing posts with the label Decimal

Render Javascript Number As Solidity Erc20 Decimals

When you create an ERC20 cryptocurrency in solidity you initialize it with a number of decimals. If… Read more Render Javascript Number As Solidity Erc20 Decimals

Using Math.round In Javascript Adds Weird Number Of 0s At The End

Possible Duplicate: Is JavaScript’s Math broken? I'm using Math.round to round the number and… Read more Using Math.round In Javascript Adds Weird Number Of 0s At The End

Rounding In Javascript Tofixed() Method

I have known that the toFixed() method in javascript converts a number into a string, keeping a spe… Read more Rounding In Javascript Tofixed() Method