Share this page

# lrc_variant_uint

Assignment to Variants

Assigns a string into an unsigned integer in a variant.

VARIANT lrc_variant_uint( const char* str );

str | A character string representing an unsigned integer.

The lrc_variant_uint function converts a string to an unsigned integer and returns it stored in a variant.

## Return Values

lrc Return Values

## Parameterization

Parameterization is not applicable to this function.

## Example

This example assigns a string into an unsigned integer stored in a variant.

VARIANT var = lrc_variant_uint("34000");

Tips to improve your search results... VuGen Function Reference Version 26.1-26.3 Function Reference 26.1-26.3 All View Local Help Center View Online Help Center Version: