core expr eval: str automatic conversion to int
authorAndrei Pelinescu-Onciul <andrei@iptel.org>
Tue, 28 Apr 2009 10:00:04 +0000 (12:00 +0200)
committerAndrei Pelinescu-Onciul <andrei@iptel.org>
Tue, 28 Apr 2009 10:44:38 +0000 (12:44 +0200)
commit54b54c1fcf1f5f6967859890cf345a70cc0aab7f
tree8f55671bedfb799691c559cc2dc78fbb4f716f21
parente9cb7f9402fc044eb877d2fea2dc59bac2c290a2
core expr eval:  str automatic conversion to int

(int)"" = 0
(int)"<number>" = <number>  (e.g. (int)"123" = 123)
(int)"<non-numeric>" = 0    (e.g. (int)"abc" = 0)
rvalue.c