Skip to content

Lesson 4: Remix Fund Me: Why can't we divide (ethPrice * ethAmount) by 1e36 instead of 1e18? #63

Answered by PatrickAlphaC
SimasG asked this question in Q&A
Discussion options

You must be logged in to vote

You could do that too :)

i just like having everything with 18 decimals so I always know what I'm working with!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by PatrickAlphaC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants