On Mon, 19 Feb 2001, Burke, Thomas G. wrote:
> try expr 33/9.0
>
> In C/C++ what you are doing is an integer divide, which returns an integer.
> To get a float, you would need to either add the decimal place, which causes
> the result to hve the higher precision, or you'd have to cast to float...
>
Doesn't work here.
> expr 33/9.0
33/9.0
>expr 33 / 9.0
expr: non-numeric argument
Looks like expr is integer only.
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list