Skip to content

Commit

Permalink
Update string-to-int.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
max-crawford authored Jan 17, 2025
1 parent 1f230b8 commit b303c78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/docs/stacks/clarity/functions/string-to-int.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: string-to-int?
description: Converting a string to an optional integer in Clarity smart contracts.
description: Convert a string to an optional integer in Clarity smart contracts.
---

## Function Signature
Expand Down Expand Up @@ -72,4 +72,4 @@ This example demonstrates:

## Conclusion

The `string-to-int?` function is a fundamental tool for converting string representations of numbers to integers in Clarity smart contracts. It allows developers to implement logic that requires numeric values from string inputs, ensuring data integrity and simplifying numeric conversions. When used effectively, `string-to-int?` enhances the reliability and maintainability of your smart contract code by providing a clear and concise way to handle string-to-integer conversions.
The `string-to-int?` function is a fundamental tool for converting string representations of numbers to integers in Clarity smart contracts. It allows you to implement logic that requires numeric values from string inputs, ensuring data integrity and simplifying numeric conversions. When used effectively, `string-to-int?` enhances the reliability and maintainability of your smart contract code by providing a clear and concise way to handle string-to-integer conversions.

0 comments on commit b303c78

Please sign in to comment.