C# <-> Object Pascal | Explicit conversion to 32-bit unsigned integer
C#
explicit conversion to 32-bit unsigned integer
Description
( type ) expression
Input
- type - 32-bit unsigned integer
- expression - Expressions
Output
- return - 32-bit unsigned integer
Examples
C#
Explicit conversion to 32-bit unsigned integer the possible of use:xmin = 0; ymax = 4294967295;
uint x=70000; // x = 70000
uint y = 1025 / 8; // y = 128
y = (uint)(x * y); // z = 875043750
.
Object Pascal Used keywords: longword
longword
Description
longword (expr)
Input
- expr - Any
Output
- return - 32-bit unsigned integer
Examples
Object Pascal
Explicit conversion to 32-bit unsigned integer the possible of use:xmin := 0; ymax := 4294967295;
x:=70000; // x = 70000
y:= 1025 div 8; // y = 128
y := longword((x * y)); // z = 875043750
You can find it in the following collections: explicit type conversions
Explicit conversion to 32-bit unsigned integer in another programming language:
Differences to:
Share