REBOL 3 Docs Guide Concepts Functions Datatypes Errors
  TOC < Back Next >   Updated: 3-Aug-2010 Edit History  

REBOL 3 Functions: to-integer

to-integer  value

Converts to integer! value.

Arguments:

value

See also:

to   to-hex  

Description

Returns an integer! value made from the given value.

print to-integer "123"
123
print to-integer 123.9
123
print to-integer #"A" ; convert to the character value
65
print to-integer #102030 ; convert hex value (see to-hex for info)
1056816


  TOC < Back Next > REBOL.com - WIP Wiki Feedback Admin