Concept Framework 2.0 documentation | Contents | Index |
Name | Version | Deprecated |
uint8 | version 1.0 | no |
number uint8(number) |
Gets the 8 bits unsigned integer value of a number. |
import standard.C.casts class Main { function Main() { var decimal_number=-12.345; var a_number=0x10A; echo "The eight bit representation of " + decimal_number + " is "; echo uint8(decimal_number); echo "\n"; echo "The eight bit representation of " + a_number + " is "; echo uint8(a_number); echo "\n"; } } Results The 8 bit representation of -12.3450000000 The 8 bit representation of 266 is 10 |
Documented by Simona Gabriela Plesuvu, generation time: Fri Jan 21 18:06:18 2011 GMT | (c)2011 RadGs Software |