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

# ShapeSignedToU24

> ShapeSignedToU24

# ShapeSignedToU24

Takes a signed 32-bit integer and returns the value in the upper 24 bits of an unsigned 32-bit integer.

## Syntax

```cpp theme={null}
UINT32 ShapeSignedToU24(  
         INT32 value  
)  
```

### Parameters

*value*   \
Type: INT32

A signed 32-bit integer.

### Return value

Type: UINT32

An unsigned 32-bit integer, with the input value in the upper 24 bits.

## Requirements

**Header:** shapeeqcompcontext.h

**Supported platforms:** XBOX One family consoles and XBOX Series consoles

## Remarks

This function changes a signed 32-bit integer into an unsigned 32-bit integer, with the original value in the upper 24 bits.

To change an unsigned 24-bit integer into a signed 32-bit integer, use [ShapeSignedFromU24](/reference/audio/shapeeqcompcontext/functions/shapesignedfromu24).

To change an unsigned 32-bit integer into an unsigned 24-bit integer, use [ShapeUnsignedToU24](/reference/audio/shapeeqcompcontext/functions/shapeunsignedtou24).

## See also

[ShapeEqCompContext](/reference/audio/shapeeqcompcontext/shapeeqcompcontext_members)


## Related topics

- [ShapeSignedFromU24](/reference/audio/shapeeqcompcontext/functions/shapesignedfromu24.md)
- [ShapeUnsignedToU24](/reference/audio/shapeeqcompcontext/functions/shapeunsignedtou24.md)
- [ShapeEqCompContext](/reference/audio/shapeeqcompcontext/shapeeqcompcontext_members.md)
- [ShapeSignedFromU8_16](/reference/audio/shapeeqcompcontext/functions/shapesignedfromu8_16.md)
- [ShapeSignedFromU16_8](/reference/audio/shapeeqcompcontext/functions/shapesignedfromu16_8.md)
