[Oz] Typecasting

Tobias Mueller tmueller at ps.uni-sb.de
Mon Apr 19 11:49:48 CEST 1999


Hi Rania,

an example would be helpful. But anyway, finite domains are not
compatible with floats (that is most probably the reason why you don't
get a solution). Conversion between an integer and a float has to be
explicit and can be done by {Int.toFloat +I ?F} (see
[http://www.mozart-oz.org/documentation/base/int.html#section.numbers.integers]
for details).

Regards
-- Tobias
-------------------------------------------------
Tobias Müller, http://www.ps.uni-sb.de/~tmueller/
-
Please send submissions to users at mozart-oz.org
and administriva mail to users-request at mozart-oz.org.
The Mozart Oz web site is at http://www.mozart-oz.org/.





More information about the mozart-users mailing list