<div class="meta" robots="noindex">

</div>

Method

# Integer.FromText

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

<div class="warning">

<div class="title">

Warning

</div>

This item was deprecated in version 2024r1. Please use `Integer.FromString<integer.fromstring>` as a replacement.

</div>

## Description

Converts a Text value containing a number that can be represented as a <span class="title-ref">Integer</span> to a <span class="title-ref">Integer</span> value.

This method is `shared</api/language/shared>`.

If no locale is specified, then Locale.Raw is used.

## Compatibility

All project types on all supported operating systems.
