Forum OpenACS Q&A: Response to expr int(-1) strange problem

Collapse
Posted by Cheng-Yi Hsu on
Sorry , int(-1) will be fine 
but int(-1.5) will get error 
integer value too large to represent
    while executing
"expr int($y)"
    invoked from within chunk: 0 of adp: /web/tango/www/tango/test/t16.adp
    invoked from within
"ns_adp_parse -file [ad_conn file"
    (procedure "rp_handle_adp_request" line 3)
    invoked from within
"rp_handle_adp_request"
    invoked from within
"catch $handler error"
    invoked from within
"rp_abstract_url_server"