Scalar

A number can be entered literally in decimal, binary, or hexadecimal format. For binary and hex format, the prefixes 0b, 0B, 0x, or 0X should be used.
>> x = 1011.11    /* decimal format */
   1011.11

>> y = 0B1011.11  /* binary format */
   11.75

>> z = 0X1011.11  /* hex format */
   4113.0664060

>> w = -0Xabcd.ab /* hex format */
   -214375.2578


oz 2009-12-22