---
title: "Discussion on \"What happens if you overflow or underflow integer in solidity?\" | Hashnode"
description: "Discussion on \"What happens if you overflow or underflow integer in solidity?\". Solidity is a programming language used to write smart contracts that are run on Ethereum Blockchain Node. To be precise, it runs on Ethereum Virtual Machine(EVM). Today, I’m about to share one of the more interesting behaviours I found in Solidity.\n..."
url: "https://hashnode.com/posts/what-happens-if-you-overflow-or-underflow-integer-in-solidity/62d9618d59f0dc59d51f01e7"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [What happens if you overflow or underflow integer in solidity?](https://blog.rayspock.com/what-happens-if-you-overflow-or-underflow-integer-in-solidity?utm_source=hashnode&utm_medium=feed)

Solidity is a programming language used to write smart contracts that are run on Ethereum Blockchain Node. To be precise, it runs on Ethereum Virtual Machine(EVM). Today, I’m about to share one of the more interesting behaviours I found in Solidity. ...

Jul 21, 2022 · 2 min read · blog.rayspock.com  
Updated Dec 3, 2023  
Read the article

-   [#100daysofcode](https://hashnode.com/tag/100daysofcode)
-   [#solidity](https://hashnode.com/tag/solidity)
-   [#ethereum](https://hashnode.com/tag/ethereum)
-   [#smart-contracts](https://hashnode.com/tag/smart-contracts)
-   [#blockchain](https://hashnode.com/tag/blockchain)

## Written by

[Ray Yang](https://hashnode.com/@rayspock)

@rayspock · London, UK

  
[View profile](https://hashnode.com/@rayspock)

BUIDL

BUIDL | Dev | Loving to code

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
