jklepatch / eattheblocks

Source code for Eat The Blocks, a screencast for Ethereum Dapp Developers

Home Page:https://eattheblocks.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Number of decimal places? Flashloans lesson 14: Normalize Kyber Prices

wcDogg opened this issue · comments

Following the video exactly, const kyberRates, buy and sell are returning numbers with 12 decimal places and not the 14 shown in the video.

For example, my numbers all look like 2094.312902559671.

In the video, numbers all look like 223.45181217123485.

How do I understand if this is correct?

Thanks!