| Concept Framework 2.2 documentation | Contents | Index |
| Name | Version | Deprecated |
| uint32 | version 1.0 | no |
| number uint32(number) |
| Gets the 32 bits unsigned integer value of a number. |
import standard.C.casts
class Main {
function Main() {
var decimal_number=-12.345;
var a_number=123375000;
echo "The 32 bit representation of " + decimal_number + " is ";
echo uint32(decimal_number);
echo "\n";
echo "The 32 bit representation of " + a_number + " is ";
echo uint32(a_number);
echo "\n";
}
}
Results
The 32 bit representation of -12.345000000000001 is 4294967284
The 32 bit representation of 123375000 is 123375000
|
| Documented by Simona Gabriela Plesuvu, generation time: Sun Jan 27 18:15:13 2013 GMT | (c)2013 Devronium Applications |