REBOL Document

To-integer - Function Summary


Summary:

(missing)

Usage:

to-integer value

Arguments:

value - The value argument.

Description:

Converts other values to INTEGER.


    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

Related:

to - Constructs and returns a new value after conversion.
to-hex - Converts an integer to a hex issue!.


<Back | Index | Next>

Copyright 2004 REBOL Technologies