paint-brush
如何绕过智能合约中的整数除法错误经过@dansierrasam79
1,618 讀數
1,618 讀數

如何绕过智能合约中的整数除法错误

经过 Daniel Chakraborty6m2023/02/20
Read on Terminal Reader

太長; 讀書

当您开始学习 Python 或 Java 时,您将使用 float 数据类型。在 Solidity 中,您将使用有符号或无符号整数类型的数字。您获得的结果不会相同,因为 Solidity 不支持 floatData 类型。
featured image - 如何绕过智能合约中的整数除法错误
Daniel Chakraborty HackerNoon profile picture
Daniel Chakraborty

Daniel Chakraborty

@dansierrasam79

Loves footy, sporty 'chicas', Korean food and Python. Works at Lumos Labs, the entity that built the Lumos Metaverse.

0-item
1-item
2-item

STORY’S CREDIBILITY

Code License

Code License

The code in this story is for educational purposes. The readers are solely responsible for whatever they build with it.

DYOR

DYOR

The writer is smart, but don't just like, take their word for it. #DoYourOwnResearch

Associated Companies

Associated Companies

The writer has or has previously had a business relationship with companies mentioned in this article.

Which companies mentioned has the author had a business relationship with before?

L O A D I N G
. . . comments & more!

About Author

Daniel Chakraborty HackerNoon profile picture
Daniel Chakraborty@dansierrasam79
Loves footy, sporty 'chicas', Korean food and Python. Works at Lumos Labs, the entity that built the Lumos Metaverse.

標籤

Languages

这篇文章刊登在...

Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite