Skip to content

Commit

Permalink
Merge pull request #915 from hirosystems/max-crawford-patch-268139
Browse files Browse the repository at this point in the history
Update string-to-uint.mdx
  • Loading branch information
ryanwaits authored Jan 18, 2025
2 parents d3853f8 + cdf0daa commit cfbf952
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/docs/stacks/clarity/functions/string-to-uint.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: string-to-uint?
description: Converting a string to an optional unsigned integer in Clarity smart contracts.
description: Convert a string to an optional unsigned integer in Clarity smart contracts.
---

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

## Conclusion

The `string-to-uint?` function is a fundamental tool for converting string representations of numbers to unsigned 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-uint?` enhances the reliability and maintainability of your smart contract code by providing a clear and concise way to handle string-to-unsigned-integer conversions.
The `string-to-uint?` function is a fundamental tool for converting string representations of numbers to unsigned 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-uint?` enhances the reliability and maintainability of your smart contract code by providing a clear and concise way to handle string-to-unsigned-integer conversions.

0 comments on commit cfbf952

Please sign in to comment.