---
title: "Solidity: Strict pragma vs Floating pragma"
url: https://daily.dev/posts/solidity-strict-pragma-vs-floating-pragma-o26nheom3
source_url: https://coinsbench.com/solidity-strict-pragma-vs-floating-pragma-26fee3a45c8a
type: article
source: "Coins Bench"
published: 2024-04-30T15:56:00.107Z
updated: 2025-12-08T02:19:33.622Z
tags: ["compiler", "ethereum", "smart-contracts", "solidity"]
reading_time: 3
upvotes: 5
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Solidity: Strict pragma vs Floating pragma

**[Coins Bench](https://daily.dev/sources/coinsbench)** · 3 min read · 5 upvotes · 0 comments

## Summary

Learn about the difference between strict and floating pragmas in Solidity and why using a strict pragma is recommended for smart contract security.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://coinsbench.com/solidity-strict-pragma-vs-floating-pragma-26fee3a45c8a>

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 0 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments

---

Tags: [#compiler](https://daily.dev/tags/compiler), [#ethereum](https://daily.dev/tags/ethereum), [#smart-contracts](https://daily.dev/tags/smart-contracts), [#solidity](https://daily.dev/tags/solidity)

[View this post on daily.dev](https://daily.dev/posts/solidity-strict-pragma-vs-floating-pragma-o26nheom3)
